You are here

function simple_html_dom_node::__construct in simplehtmldom API 6

Same name and namespace in other branches
  1. 5.2 simplehtmldom/simple_html_dom.php \simple_html_dom_node::__construct()
  2. 7 simplehtmldom/simple_html_dom.php \simple_html_dom_node::__construct()

File

simplehtmldom/simple_html_dom.php, line 93

Class

simple_html_dom_node

Code

function __construct($dom) {
  $this->dom = $dom;
  $dom->nodes[] = $this;
}