ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Public Member Functions | |
__construct (protected string $url='', protected ?ilProxySettings $proxySettings=null,) | |
getResponseHeader () | |
getResponseHeaderArray () | |
init (bool $set_proxy=true) | |
setOpt (int $a_option, $a_value) | |
Wrapper for curl_setopt. More... | |
exec () | |
Wrapper for curl_exec. More... | |
parseResponse (string $a_response) | |
getResponseBody () | |
getInfo ($opt=0) | |
Get information about a specific transfer. More... | |
close () | |
__destruct () | |
Static Public Member Functions | |
static | _isCurlExtensionLoaded () |
Protected Attributes | |
$ch = null | |
Private Member Functions | |
parseHeader ($handle, string $header) | |
Parse respone header. More... | |
Private Attributes | |
string | $header_plain = '' |
array | $header_arr = array() |
string | $response_body = '' |
Definition at line 29 of file class.ilCurlConnection.php.
ilCurlConnection::__construct | ( | protected string | $url = '' , |
protected ?ilProxySettings | $proxySettings = null |
||
) |
Definition at line 37 of file class.ilCurlConnection.php.
ilCurlConnection::__destruct | ( | ) |
Definition at line 185 of file class.ilCurlConnection.php.
References close().
|
staticfinal |
Definition at line 46 of file class.ilCurlConnection.php.
Referenced by ilNICKeyRegisteredObjective\achieve().
|
final |
Definition at line 177 of file class.ilCurlConnection.php.
Referenced by __destruct(), and init().
|
final |
Wrapper for curl_exec.
Definition at line 117 of file class.ilCurlConnection.php.
References $res.
ilCurlConnection::getInfo | ( | $opt = 0 | ) |
Get information about a specific transfer.
int | option e.g CURLINFO_EFFECTIVE_URL |
Definition at line 151 of file class.ilCurlConnection.php.
References $res.
Referenced by parseResponse().
ilCurlConnection::getResponseBody | ( | ) |
Definition at line 139 of file class.ilCurlConnection.php.
References $response_body.
ilCurlConnection::getResponseHeader | ( | ) |
Definition at line 54 of file class.ilCurlConnection.php.
References $header_plain.
ilCurlConnection::getResponseHeaderArray | ( | ) |
Definition at line 59 of file class.ilCurlConnection.php.
References $header_arr.
|
final |
Definition at line 64 of file class.ilCurlConnection.php.
References ilProxySettings\_getInstance(), close(), and setOpt().
|
private |
Parse respone header.
mixed | $handle | |
string | $header |
Definition at line 167 of file class.ilCurlConnection.php.
ilCurlConnection::parseResponse | ( | string | $a_response | ) |
Definition at line 131 of file class.ilCurlConnection.php.
References getInfo().
|
final |
Wrapper for curl_setopt.
int | $a_option | |
mixed | $a_value |
Definition at line 105 of file class.ilCurlConnection.php.
Referenced by init().
|
protected |
Definition at line 32 of file class.ilCurlConnection.php.
|
private |
Definition at line 34 of file class.ilCurlConnection.php.
Referenced by getResponseHeaderArray().
|
private |
Definition at line 33 of file class.ilCurlConnection.php.
Referenced by getResponseHeader().
|
private |
Definition at line 35 of file class.ilCurlConnection.php.
Referenced by getResponseBody().