1234567891011121314151617181920212223 |
- <?php
- namespace Sunra\PhpSimple;
- require 'simplehtmldom_1_5'.DIRECTORY_SEPARATOR.'simple_html_dom.php';
- class HtmlDomParser {
-
- /**
- * @return \simplehtmldom_1_5\simple_html_dom
- */
- static public function file_get_html() {
- return call_user_func_array ( '\simplehtmldom_1_5\file_get_html' , func_get_args() );
- }
- /**
- * get html dom from string
- * @return \simplehtmldom_1_5\simple_html_dom
- */
- static public function str_get_html() {
- return call_user_func_array ( '\simplehtmldom_1_5\str_get_html' , func_get_args() );
- }
- }
|