| ILIAS
    Release_4_1_x_branch Revision 61804
    | 
 Collaboration diagram for ilCurlConnection:
 Collaboration diagram for ilCurlConnection:| Public Member Functions | |
| __construct ($a_url= '') | |
| Constructor. | |
| 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 | |
Definition at line 38 of file class.ilCurlConnection.php.
| ilCurlConnection::__construct | ( | $a_url = '' | ) | 
Constructor.
public
| string | url for connection | 
| ilCurlConnectionException | 
Definition at line 51 of file class.ilCurlConnection.php.
| ilCurlConnection::__destruct | ( | ) | 
Destructor.
public
Definition at line 189 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 68 of file class.ilCurlConnection.php.
| 
 | final | 
Close connection.
public
Definition at line 174 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 131 of file class.ilCurlConnection.php.
References $res.
| ilCurlConnection::getInfo | ( | $opt = 0 | ) | 
| 
 | final | 
Init curl connection.
public
| ilCurlConnectionException | on error | 
Definition at line 84 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:| 
 | final | 
Wrapper for curl_setopt.
public
| int | CURL_OPTION | 
| mixed | bool string or resource | 
| ilCurlConnectionException | on error | 
Definition at line 115 of file class.ilCurlConnection.php.
| 
 | protected | 
Definition at line 41 of file class.ilCurlConnection.php.
| 
 | protected | 
Definition at line 40 of file class.ilCurlConnection.php.