Joomla CMS
2.5.24 (avec JPlatform 11.4 inclus)
Documentation des API du CMS Joomla en version 2.5 et du framework Joomla Platform intégré
|
Fonctions membres publiques | |
__construct (JRegistry &$options) | |
request ($method, JUri $uri, $data=null, array $headers=null, $timeout=null, $userAgent=null) |
JHttpTransport::__construct | ( | JRegistry & | $options | ) |
Constructor.
JRegistry | &$options | Client options object. |
Implémenté dans JHttpTransportSocket, JHttpTransportCurl, et JHttpTransportStream.
JHttpTransport::request | ( | $method, | |
JUri | $uri, | ||
$data = null , |
|||
array | $headers = null , |
||
$timeout = null , |
|||
$userAgent = null |
|||
) |
Send a request to the server and return a JHttpResponse object with the response.
string | $method | The HTTP method for sending the request. |
JUri | $uri | The URI to the resource to request. |
mixed | $data | Either an associative array or a string to be sent with the request. |
array | $headers | An array of request headers to send with the request. |
integer | $timeout | Read timeout in seconds. |
string | $userAgent | The optional user agent string to send with the request. |
Implémenté dans JHttpTransportSocket, JHttpTransportStream, et JHttpTransportCurl.