Lines Matching refs:root
8 * See the LICENSE file in the project root for more information.
380 if ($this->tag === 'root') {
536 $n = ($k === -1) ? $this->dom->root : $this->dom->nodes[$k];
612 // Skip root nodes
1388 public $root = null;
1434 'root' => 1,
1543 $this->root->_[HDOM_INFO_END] = $this->cursor;
1573 $ret = $this->root->innertext();
1580 return $this->root->find($selector, $idx, $lowercase);
1607 if (isset($this->root)) {
1608 $this->root->clear();
1609 unset($this->root);
1618 $this->root->dump($show_attr);
1638 $this->root = new simple_html_dom_node($this);
1639 $this->root->tag = 'root';
1640 $this->root->_[HDOM_INFO_BEGIN] = -1;
1641 $this->root->nodetype = HDOM_TYPE_ROOT;
1642 $this->parent = $this->root;
1689 $el = $this->root->find('meta[http-equiv=Content-Type]', 0, true);
1727 if ($meta = $this->root->find('meta[charset]', 0)) {
1809 $this->root->_[HDOM_INFO_END] = $this->cursor;
1844 // Stop at root node
1871 // Stop at root node
2286 return $this->root->innertext();
2293 return $this->root->innertext();
2295 return $this->root->innertext();
2297 return $this->root->text();
2307 return $this->root->childNodes($idx);
2312 return $this->root->first_child();
2317 return $this->root->last_child();