| ILIAS
    Release_4_4_x_branch Revision 61816
    | 
 Collaboration diagram for ilCurlConnection:
 Collaboration diagram for ilCurlConnection:| Public Member Functions | |
| __construct ($a_url= '') | |
| Constructor. | |
| getResponseHeader () | |
| Get response header as string. | |
| getResponseHeaderArray () | |
| Get response header as array. | |
| init () | |
| Init curl connection. | |
| setOpt ($a_option, $a_value) | |
| Wrapper for curl_setopt. | |
| exec () | |
| Wrapper for curl_exec. | |
| getInfo ($opt=0) | |
| Get informations about a specific transfer. | |
| close () | |
| Close connection. | |
| __destruct () | |
| Destructor. | |
| Static Public Member Functions | |
| static | _isCurlExtensionLoaded () | 
| Check if curl extension is loaded. | |
| Protected Attributes | |
| $url = '' | |
| $ch = null | |
| Private Member Functions | |
| parseHeader ($handle, $header) | |
| Parse respone header. | |
| Private Attributes | |
| $header_plain = '' | |
| $header_arr = array() | |
Definition at line 38 of file class.ilCurlConnection.php.
| ilCurlConnection::__construct | ( | $a_url = '' | ) | 
Constructor.
public
| string | url for connection | 
| ilCurlConnectionException | 
Definition at line 54 of file class.ilCurlConnection.php.
| ilCurlConnection::__destruct | ( | ) | 
Destructor.
public
Definition at line 232 of file class.ilCurlConnection.php.
References close().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | staticfinal | 
Check if curl extension is loaded.
public
Definition at line 71 of file class.ilCurlConnection.php.
| 
 | final | 
Close connection.
public
Definition at line 217 of file class.ilCurlConnection.php.
Referenced by __destruct().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | final | 
Wrapper for curl_exec.
public
Definition at line 153 of file class.ilCurlConnection.php.
References $res.
| ilCurlConnection::getInfo | ( | $opt = 0 | ) | 
| ilCurlConnection::getResponseHeader | ( | ) | 
Get response header as string.
Definition at line 84 of file class.ilCurlConnection.php.
References $header_plain.
Referenced by parseHeader().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCurlConnection::getResponseHeaderArray | ( | ) | 
Get response header as array.
Definition at line 93 of file class.ilCurlConnection.php.
References $header_arr.
| 
 | final | 
Init curl connection.
public
| ilCurlConnectionException | on error | 
Definition at line 105 of file class.ilCurlConnection.php.
Referenced by ilECSConnector\prepareConnection().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
Parse respone header.
| mixed | $handle | |
| string | $header | 
Definition at line 198 of file class.ilCurlConnection.php.
References getResponseHeader().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | final | 
Wrapper for curl_setopt.
public
| int | CURL_OPTION | 
| mixed | bool string or resource | 
| ilCurlConnectionException | on error | 
Definition at line 137 of file class.ilCurlConnection.php.
| 
 | protected | 
Definition at line 41 of file class.ilCurlConnection.php.
| 
 | private | 
Definition at line 44 of file class.ilCurlConnection.php.
Referenced by getResponseHeaderArray().
| 
 | private | 
Definition at line 43 of file class.ilCurlConnection.php.
Referenced by getResponseHeader().
| 
 | protected | 
Definition at line 40 of file class.ilCurlConnection.php.