function simple_html_dom_node::children in simplehtmldom API 5.2
Same name and namespace in other branches
- 6 simplehtmldom/simple_html_dom.php \simple_html_dom_node::children()
- 7 simplehtmldom/simple_html_dom.php \simple_html_dom_node::children()
1 call to simple_html_dom_node::children()
- simple_html_dom_node::childNodes in simplehtmldom/
simple_html_dom.php
File
- simplehtmldom/
simple_html_dom.php, line 125
Class
Code
function children($idx = -1) {
if ($idx === -1) {
return $this->children;
}
if (isset($this->children[$idx])) {
return $this->children[$idx];
}
return null;
}