You are here

function str_get_dom in simplehtmldom API 7

Same name and namespace in other branches
  1. 5.2 simplehtmldom/simple_html_dom.php \str_get_dom()
  2. 6 simplehtmldom/simple_html_dom.php \str_get_dom()

File

simplehtmldom/simple_html_dom.php, line 75

Code

function str_get_dom($str, $lowercase = true) {
  $dom = new simple_html_dom();
  $dom
    ->load($str, $lowercase);
  return $dom;
}