|
ILIAS
release_8 Revision v8.24
|
Collaboration diagram for ilCurlConnection:Public Member Functions | |
| __construct (string $a_url='') | |
| 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 | |
| string | $url = '' |
| $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 35 of file class.ilCurlConnection.php.
| ilCurlConnection::__construct | ( | string | $a_url = '' | ) |
Definition at line 45 of file class.ilCurlConnection.php.
| ilCurlConnection::__destruct | ( | ) |
Definition at line 193 of file class.ilCurlConnection.php.
References close().
Here is the call graph for this function:
|
staticfinal |
Definition at line 54 of file class.ilCurlConnection.php.
Referenced by ilNICKeyRegisteredObjective\achieve(), and ilMediaImageUtil\getImageSize().
Here is the caller graph for this function:
|
final |
Definition at line 185 of file class.ilCurlConnection.php.
Referenced by __destruct(), and init().
Here is the caller graph for this function:
|
final |
Wrapper for curl_exec.
Definition at line 125 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 159 of file class.ilCurlConnection.php.
References $res.
Referenced by parseResponse().
Here is the caller graph for this function:| ilCurlConnection::getResponseBody | ( | ) |
Definition at line 147 of file class.ilCurlConnection.php.
References $response_body.
| ilCurlConnection::getResponseHeader | ( | ) |
Definition at line 62 of file class.ilCurlConnection.php.
References $header_plain.
| ilCurlConnection::getResponseHeaderArray | ( | ) |
Definition at line 67 of file class.ilCurlConnection.php.
References $header_arr.
|
final |
Definition at line 72 of file class.ilCurlConnection.php.
References ilProxySettings\_getInstance(), close(), and setOpt().
Here is the call graph for this function:
|
private |
Parse respone header.
| mixed | $handle | |
| string | $header |
Definition at line 175 of file class.ilCurlConnection.php.
| ilCurlConnection::parseResponse | ( | string | $a_response | ) |
Definition at line 139 of file class.ilCurlConnection.php.
References getInfo().
Here is the call graph for this function:
|
final |
Wrapper for curl_setopt.
| int | $a_option | |
| mixed | $a_value |
Definition at line 113 of file class.ilCurlConnection.php.
Referenced by init().
Here is the caller graph for this function:
|
protected |
Definition at line 40 of file class.ilCurlConnection.php.
|
private |
Definition at line 42 of file class.ilCurlConnection.php.
Referenced by getResponseHeaderArray().
|
private |
Definition at line 41 of file class.ilCurlConnection.php.
Referenced by getResponseHeader().
|
private |
Definition at line 43 of file class.ilCurlConnection.php.
Referenced by getResponseBody().
|
protected |
Definition at line 37 of file class.ilCurlConnection.php.