ILIAS
eassessment Revision 61809
|
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().
|
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().
|
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().
|
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.