Zend_XmlRpc_ClientAn XML-RPC client implementation
Located in /Zend/XmlRpc/Client.php (line 54)
Zend_Http_client_Abstract
$_httpClient
= null (line 75)
The HTTP client object to use for connecting the XML-RPC server.
array
$_methodSignatures
= array() (line 102)
Holding all the method signatures, the array has the methods name as keys and the signature as the value
The signature is an array of 2 keys: 'return_value' - string, hold the return value of the method 'params' - array of strings, hold the parameters for the method (can be an empty array)
This array is created automatically when calling the __getMethodsXml() or __setMethodsXml() methods
array
$_namespaceDecorators
= array() (line 89)
Array of cached namespace decorators, array of Zend_XmlRpc_Client_NamespaceDecorator objects
Zend_XmlRpc_Value|null
$_response
= null (line 82)
The response from an XML-RPC method call, held in a Zend_XmlRpc_Value object
string
$_serverAddress
(line 68)
The XML-RPC service server full address
Constructor __construct (line 115)
Class constructor - create a new XML-RPC client to a remote server
_buildMethodsXML (line 509)
Generates an XML string analogous to SOAP's WSDL representing all the methods signatures Signature is the method return value and method parameters This function also set the _methodSignatures data memeber with the method signatures details (in an array)
_buildRequest (line 363)
Build the XML body of an XML-RPC request
_convertParams (line 559)
Convert an array of PHP variables into XML-RPC native types represented by Zend_XmlRpc_Value objects If method name is given, try to use the _methodSignatures data member for type hinting, if not, auto convert the PHP variable types into XML-RPC types
_getMethodParams (line 592)
Return the XML-RPC types of the necessary parameters for a method in the service Get the types from the _methodSignatures data member {@see __getMethodsXml() for more information}
_parseResponse (line 395)
Parse the response from a XML-RPC method call, hold the response as a Zend_XmlRpc_Value object The response parameter must be a valid XML string
_sendRequest (line 337)
Send a XML-RPC request to the service (for a specific method)
__call (line 145)
Using the magic __call function to call methods directly by method name
__get (line 129)
Undefined properties are assumed to be XML-RPC namespaces and return a decorator to enable object chains.
__getHttpClient (line 320)
Gets the HTTP client object.
__getMethodsXml (line 179)
Generates an XML string containing the signatures for every method on the remote server by calling system.listMethods() and then calling system.methodSignature() for each method. This output generated is analogous to SOAP's WSDL file.
__getResponse (line 281)
The response received from the method call, response can be retrieved in 3 formats:
__setHttpClient (line 309)
Sets the HTTP client object to use for connecting the XML-RPC server.
If none is set, the a default Zend_Http_Client will be used.
__setMethodsXml (line 216)
Consumes an XML string generated by __getMethodsXml() and uses it for type hinting. When a remote method is called, either trapped by __call() or called with __xmlRpcCall(),
__xmlrpcCall (line 162)
Call a specific method (with or without parameters) from the XML-RPC service
Documentation generated on Tue, 11 Jul 2006 12:16:40 -0500 by phpDocumentor 1.3.0RC6