Zend_XmlRpc_ClientAn XML-RPC client implementation
Located in /library/Zend/XmlRpc/Client.php (line 45)
Zend_XmlRpc_Client
__construct
(string $server, [string $namespace = null], [string $methodsXml = null])
array
$_methodSignatures
= array() (line 87)
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
string|null
$_namespace
= null (line 74)
The default namespace to prepend to method names. The namespace is only prepended if the name of the method calls does not contain the namespace separator (a period).
Zend_XmlRpc_Value|null
$_response
= null (line 66)
The response from an XML-RPC method call, held in a Zend_XmlRpc_Value object
string
$_serverAddress
(line 59)
The XML-RPC service server full address
Constructor __construct (line 103)
Class constructor - create a new XML-RPC client to a remote server
_buildMethodsXML (line 479)
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 333)
Build the XML body of an XML-RPC request
_convertParams (line 529)
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 562)
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 365)
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 313)
Send a XML-RPC request to the service (for a specific method)
__call (line 117)
Using the magic __call function to call methods directly by method name
__getMethodsXml (line 182)
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.
__getNamespace (line 169)
Returns the default namespace or null if there is not one.
__getResponse (line 284)
The response received from the method call, response can be retrieved in 3 formats:
__setMethodsXml (line 219)
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(),
__setNamespace (line 153)
Sets the default namespace for XML-RPC calls. When a method call is made and the name of the method does not contain a period, the default namespace will be prepended to the method name if one was set.
__xmlrpcCall (line 139)
Call a specific method (with or without parameters) from the XML-RPC service
Documentation generated on Wed, 08 Mar 2006 04:51:16 -0800 by phpDocumentor 1.3.0RC4