Property | Type | Description | |
---|---|---|---|
$convertedText | string | This is the converted version of the text. | |
$tag | This is a text node. | ||
$text | string | This is the text in this node. |
Method | Description | |
---|---|---|
__construct ( string $text ) | Sets the text for this node. | |
innerHtml ( ) : string | This node has no html, just return the text. | |
outerHtml ( ) : string | This node has no html, just return the text. | |
text ( ) : string | Returns the text of this node. |
Method | Description | |
---|---|---|
clear ( ) | Call this when something in the node tree has changed. Like a child has been added or a parent has been changed. |
public __construct ( string $text ) | ||
$text | string |
protected clear ( ) |
protected string $convertedText | ||
return | string |