Method |
Description |
|
__construct ( DOMNode $node ) |
Constructor for this node |
|
__get ( string $name ) : mixed |
Get the value of an attribute of this node |
|
__set ( string $name, mixed $value ) |
Set the value of an attribute on this node |
|
add_class ( string | array $newclass ) |
Add a class to the class attribute of this node |
|
append_html ( string $html ) |
Append HTML as a child of this node |
|
get ( ) : string |
Get this node's string representation |
|
inner_html ( ) : string |
Get the HTML of all child elements of this node |
|
promote_children ( ) |
Move the children of this node into this node's parent, just before this node in the DOM tree |
|
remove ( ) |
Remove this node from the DOM |
|
remove_class ( string | array $removeclass ) |
Remove a class from this node |
|