Represent a plain text which is inserted into HTML without any tags.
package |
Default |
---|
__construct(string $text = '')
string
A content of the text element
__toString() : string
string
getAttribute(string $name) : mixed
string
The name of the attribute
mixed
getAttributeList() : string
string
getAttributes() : array
array
getText() : string
string
removeAttribute(string $name) : \Dotpay\Html\Node
setAttribute(string $name, mixed $value) : \Dotpay\Html\Node
string
The name of the attribute
mixed
The value of the attribute
\Dotpay\Html\Node
setText(string $text) : \Dotpay\Html\PlainText
text : string
var |
A content of the text element |
---|
string
attributes : array
var |
List of all attributes of the node |
---|
array