Joomla Platform
13.1
Documentation des API du framework Joomla Platform
|
Fonctions membres publiques | |
__construct (JRegistry $options=null, JHttpTransport $transport=null) | |
get ($url, array $headers=null) | |
post ($url, $data, array $headers=null) | |
Fonctions membres publiques inherited from JHttp | |
getOption ($key) | |
setOption ($key, $value) | |
options ($url, array $headers=null, $timeout=null) | |
head ($url, array $headers=null, $timeout=null) | |
get ($url, array $headers=null, $timeout=null) | |
post ($url, $data, array $headers=null, $timeout=null) | |
put ($url, $data, array $headers=null, $timeout=null) | |
delete ($url, array $headers=null, $timeout=null) | |
trace ($url, array $headers=null, $timeout=null) | |
patch ($url, $data, array $headers=null, $timeout=null) |
Additional Inherited Members | |
Attributs protégés inherited from JHttp | |
$options | |
$transport |
JMediawikiHttp::__construct | ( | JRegistry | $options = null , |
JHttpTransport | $transport = null |
||
) |
Constructor.
JRegistry | $options | Client options object. |
JHttpTransport | $transport | The HTTP transport object. |
Réimplémentée à partir de JHttp.
Définition à la ligne 29 du fichier http.php.
JMediawikiHttp::get | ( | $url, | |
array | $headers = null |
||
) |
Method to send the GET command to the server.
string | $url | Path to the resource. |
array | $headers | An array of name-value pairs to include in the header of the request. |
Définition à la ligne 52 du fichier http.php.
JMediawikiHttp::post | ( | $url, | |
$data, | |||
array | $headers = null |
||
) |
Method to send the POST command to the server.
string | $url | Path to the resource. |
mixed | $data | Either an associative array or a string to be sent with the request. |
array | $headers | An array of name-value pairs to include in the header of the request. |
Définition à la ligne 79 du fichier http.php.