__construct ( [ object $dom ] ) : object
| Parameter | Description |
|---|---|
dom |
An object of type HtmlDocument. |
Constructs a new object of type HtmlNode, assigns $dom as DOM object and adds itself to the list of nodes in $dom.
__construct ( [ object $dom ] ) : object
| Parameter | Description |
|---|---|
dom |
An object of type HtmlDocument. |
Constructs a new object of type HtmlNode, assigns $dom as DOM object and adds itself to the list of nodes in $dom.