mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-25 06:09:55 +09:00
Add CoolSMS PHP SDK, and update Composer dependencies
This commit is contained in:
parent
40c43e8fa0
commit
c719fc0500
242 changed files with 3487 additions and 28983 deletions
|
|
@ -1,7 +1,4 @@
|
|||
<?php
|
||||
// say me who add "О╩©" into start of file?
|
||||
// Becouse of this 3 symbol before <?php - php get error
|
||||
// i think it Sublime Text
|
||||
|
||||
namespace Sunra\PhpSimple;
|
||||
|
||||
|
|
@ -9,12 +6,18 @@ require 'simplehtmldom_1_5'.DIRECTORY_SEPARATOR.'simple_html_dom.php';
|
|||
|
||||
class HtmlDomParser {
|
||||
|
||||
static public function file_get_html() {
|
||||
return call_user_func_array ( '\file_get_html' , func_get_args() );
|
||||
}
|
||||
/**
|
||||
* @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
|
||||
static public function str_get_html() {
|
||||
return call_user_func_array ( '\str_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() );
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue