Properties

$dependencies

$dependencies : 

Type

$shortcuts

$shortcuts : 

Type

$singleton

$singleton : 

Type

$class_hash

$class_hash : 

Type

$_shorts

$_shorts : 

Type

$_shorts_loaded

$_shorts_loaded : 

Type

$_class_index

$_class_index : 

Type

$useragent

$useragent : 

Type

$timeout

$timeout : 

Type

$conn_timeout

$conn_timeout : 

Type

$methods

$methods : 

Type

$method

$method : 

Type

$maxRedirects

$maxRedirects : 

Type

Methods

__get()

__get(  $name) 

Parameters

$name

__isset()

__isset(  $name) 

Parameters

$name

__dependencies()

__dependencies() 

__shortcuts()

__shortcuts() 

__destruct()

__destruct() 

get_method()

get_method() 

__construct()

__construct(  $method = false) 

Parameters

$method

fetch()

fetch(String  $geturl,   $header = '',   $conn_timeout = false,   $timeout = false) : string

Return the Data Checks all given methods to get the date from the url

Parameters

String $geturl
$header
$conn_timeout
$timeout

Returns

string

post()

post(  $url,   $data,   $content_type = "text/html; charset=utf-8",   $header = '',   $conn_timeout = false,   $timeout = false) 

Parameters

$url
$data
$content_type
$header
$conn_timeout
$timeout

get_curl()

get_curl(string  $geturl,   $header,   $conn_timeout,   $timeout) : string

Try to get the data from the URL via the curl function

Parameters

string $geturl
$header
$conn_timeout
$timeout

Returns

string

post_curl()

post_curl(  $url,   $data,   $content_type,   $header,   $conn_timeout,   $timeout) 

Parameters

$url
$data
$content_type
$header
$conn_timeout
$timeout

get_file_gets()

get_file_gets(string  $geturl,   $header,   $conn_timeout,   $timeout) : string

Try to get the data from the URL via the file_get_contents function

Parameters

string $geturl
$header
$conn_timeout
$timeout

Returns

string

post_file_gets()

post_file_gets(  $url,   $data,   $content_type,   $header,   $conn_timeout,   $timeout) 

Parameters

$url
$data
$content_type
$header
$conn_timeout
$timeout

get_fopen()

get_fopen(string  $geturl,   $header,   $conn_timeout,   $timeout) : string

Try to get the data from the URL via the fsockopen function

Parameters

string $geturl
$header
$conn_timeout
$timeout

Returns

string

post_fopen()

post_fopen(  $url,   $data,   $content_type,   $header,   $conn_timeout,   $timeout) 

Parameters

$url
$data
$content_type
$header
$conn_timeout
$timeout

check_function()

check_function(  $method) 

Parameters

$method