You are here

function file_get_html in simplehtmldom API 7

Same name and namespace in other branches
  1. 5.2 simplehtmldom/simple_html_dom.php \file_get_html()
  2. 6 simplehtmldom/simple_html_dom.php \file_get_html()
7 calls to file_get_html()
example_basic_selector.php in simplehtmldom/example/example_basic_selector.php
example_callback.php in simplehtmldom/example/example_callback.php
example_modify_contents.php in simplehtmldom/example/example_modify_contents.php
html_no_comment in simplehtmldom/example/simple_html_dom_utility.php
scraping_digg in simplehtmldom/example/scraping/example_scraping_digg.php

... See full list

File

simplehtmldom/simple_html_dom.php, line 36

Code

function file_get_html() {
  $dom = new simple_html_dom();
  $args = func_get_args();
  $dom
    ->load(call_user_func_array('file_get_contents', $args), true);
  return $dom;
}