You are here

function simple_html_dom_node::getElementById in simplehtmldom API 6

Same name and namespace in other branches
  1. 5.2 simplehtmldom/simple_html_dom.php \simple_html_dom_node::getElementById()
  2. 7 simplehtmldom/simple_html_dom.php \simple_html_dom_node::getElementById()

File

simplehtmldom/simple_html_dom.php, line 467

Class

simple_html_dom_node

Code

function getElementById($id) {
  return $this
    ->find("#{$id}", 0);
}