Lines Matching refs:root
8 * See the LICENSE file in the project root for more information.
377 if ($this->tag === 'root') {
533 $n = ($k === -1) ? $this->dom->root : $this->dom->nodes[$k];
609 // Skip root nodes
1392 public $root = null;
1440 'root' => 1,
1549 $this->root->_[HDOM_INFO_END] = $this->cursor;
1579 $ret = $this->root->innertext();
1586 return $this->root->find($selector, $idx, $lowercase);
1613 if (isset($this->root)) {
1614 $this->root->clear();
1615 unset($this->root);
1624 $this->root->dump($show_attr);
1644 $this->root = new simple_html_dom_node($this);
1645 $this->root->tag = 'root';
1646 $this->root->_[HDOM_INFO_BEGIN] = -1;
1647 $this->root->nodetype = HDOM_TYPE_ROOT;
1648 $this->parent = $this->root;
1695 $el = $this->root->find('meta[http-equiv=Content-Type]', 0, true);
1733 if ($meta = $this->root->find('meta[charset]', 0)) {
1815 $this->root->_[HDOM_INFO_END] = $this->cursor;
1850 // Stop at root node
1877 // Stop at root node
2292 return $this->root->innertext();
2299 return $this->root->innertext();
2301 return $this->root->innertext();
2303 return $this->root->text();
2313 return $this->root->childNodes($idx);
2318 return $this->root->first_child();
2323 return $this->root->last_child();