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