protected function simple_html_dom::link_nodes in simplehtmldom API 7
Same name and namespace in other branches
- 5.2 simplehtmldom/simple_html_dom.php \simple_html_dom::link_nodes()
- 6 simplehtmldom/simple_html_dom.php \simple_html_dom::link_nodes()
3 calls to simple_html_dom::link_nodes()
- simple_html_dom::as_text_node in simplehtmldom/
simple_html_dom.php - simple_html_dom::parse in simplehtmldom/
simple_html_dom.php - simple_html_dom::read_tag in simplehtmldom/
simple_html_dom.php
File
- simplehtmldom/
simple_html_dom.php, line 845
Class
Code
protected function link_nodes(&$node, $is_child) {
$node->parent = $this->parent;
$this->parent->nodes[] = $node;
if ($is_child) {
$this->parent->children[] = $node;
}
}