Zend Framework
1.12
|
Public Member Functions | |
__construct ($server, Zend_Http_Client $httpClient=null) | |
Create a new XML-RPC client to a remote server. | |
setHttpClient (Zend_Http_Client $httpClient) | |
Sets the HTTP client object to use for connecting the XML-RPC server. | |
getHttpClient () | |
Gets the HTTP client object. | |
setIntrospector (Zend_XmlRpc_Client_ServerIntrospection $introspector) | |
Sets the object used to introspect remote servers. | |
getIntrospector () | |
Gets the introspection object. | |
getLastRequest () | |
The request of the last method call. | |
getLastResponse () | |
The response received from the last method call. | |
getProxy ($namespace= '') | |
Returns a proxy object for more convenient method calls. | |
setSkipSystemLookup ($flag=true) | |
Set skip system lookup flag. | |
skipSystemLookup () | |
Skip system lookup when determining if parameter should be array or struct? | |
doRequest ($request, $response=null) | |
Perform an XML-RPC request and return a response. | |
call ($method, $params=array()) | |
Send an XML-RPC request to the service (for a specific method) | |
Protected Member Functions | |
_createRequest ($method, $params) | |
Create request object. | |
Protected Attributes | |
$_serverAddress | |
$_httpClient = null | |
$_introspector = null | |
$_lastRequest = null | |
$_lastResponse = null | |
$_proxyCache = array() | |
$_skipSystemLookup = false | |
__construct | ( | $server, | |
Zend_Http_Client | $httpClient = null |
||
) |
Create a new XML-RPC client to a remote server.
string | $server | Full address of the XML-RPC service (e.g. http://time.xmlrpc.com/RPC2) |
Zend_Http_Client | $httpClient | HTTP Client to use for requests |
|
protected |
Create request object.
call | ( | $method, | |
$params = array() |
|||
) |
Send an XML-RPC request to the service (for a specific method)
string | $method | Name of the method we want to call |
array | $params | Array of parameters for the method |
Zend_XmlRpc_Client_FaultException |
Exception thrown when an XML-RPC fault is returned
doRequest | ( | $request, | |
$response = null |
|||
) |
Perform an XML-RPC request and return a response.
Zend_XmlRpc_Request | $request | |
null | Zend_XmlRpc_Response | $response |
Zend_XmlRpc_Client_HttpException |
Exception thrown when an HTTP error occurs
getHttpClient | ( | ) |
Gets the HTTP client object.
getIntrospector | ( | ) |
Gets the introspection object.
getLastRequest | ( | ) |
The request of the last method call.
getLastResponse | ( | ) |
The response received from the last method call.
getProxy | ( | $namespace = '' | ) |
Returns a proxy object for more convenient method calls.
string | $namespace | Namespace to proxy or empty string for none |
setHttpClient | ( | Zend_Http_Client | $httpClient | ) |
Sets the HTTP client object to use for connecting the XML-RPC server.
Zend_Http_Client | $httpClient |
setIntrospector | ( | Zend_XmlRpc_Client_ServerIntrospection | $introspector | ) |
Sets the object used to introspect remote servers.
Zend_XmlRpc_Client_ServerIntrospection |
setSkipSystemLookup | ( | $flag = true | ) |
skipSystemLookup | ( | ) |
Skip system lookup when determining if parameter should be array or struct?
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |