View file core/libs/htmlParser/manual/docs/api/simple_html_dom_node/__construct.md
# __construct ```php __construct ( [ object $dom ] ) : object ``` | Parameter | Description | --------- | ----------- | `dom` | An object of type [`simple_html_dom`](api/simple_html_dom/). Constructs a new object of type `simple_html_dom_node`, assignes `$dom` as DOM object and adds itself to the list of nodes in `$dom`.