| [ Index ] |
PHP Cross Reference of moodle-2.8 |
[Source view] [Print] [Project Stats]
Zend Framework LICENSE
| Copyright: | Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
| License: | http://framework.zend.com/license/new-bsd New BSD License |
| Version: | $Id$ |
| File Size: | 507 lines (17 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
Zend_Http_Client_Adapter_Curl:: (11 methods):
__construct()
setConfig()
getConfig()
setCurlOption()
connect()
write()
read()
close()
getHandle()
setOutputStream()
readHeader()
Class: Zend_Http_Client_Adapter_Curl - X-Ref
An adapter class for Zend_Http_Client based on the curl extension.| __construct() X-Ref |
| Adapter constructor Config is set using setConfig() return: void |
| setConfig($config = array() X-Ref |
| Set the configuration array for the adapter param: Zend_Config | array $config return: Zend_Http_Client_Adapter_Curl |
| getConfig() X-Ref |
| Retrieve the array of all configuration options return: array |
| setCurlOption($option, $value) X-Ref |
| Direct setter for cURL adapter related options. param: string|int $option param: mixed $value return: Zend_Http_Adapter_Curl |
| connect($host, $port = 80, $secure = false) X-Ref |
| Initialize curl param: string $host param: int $port param: boolean $secure return: void |
| write($method, $uri, $httpVersion = 1.1, $headers = array() X-Ref |
| Send request to the remote server param: string $method param: Zend_Uri_Http $uri param: float $http_ver param: array $headers param: string $body return: string $request |
| read() X-Ref |
| Return read response from server return: string |
| close() X-Ref |
| Close the connection to the server |
| getHandle() X-Ref |
| Get cUrl Handle return: resource |
| setOutputStream($stream) X-Ref |
| Set output stream for the response param: resource $stream return: Zend_Http_Client_Adapter_Socket |
| readHeader($curl, $header) X-Ref |
| Header reader function for CURL param: resource $curl param: string $header return: int |
| Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |