-
$_cache
-
Cached namespace decorators
-
$_client
-
-
$_httpClient
-
The HTTP client object to use for connecting the XML-RPC server.
-
$_methodSignatures
-
Holding all the method signatures, the array has the methods name as keys and the signature as the value
-
$_namespace
-
XML-RPC namespace for this decorator
-
$_namespaceDecorators
-
Array of cached namespace decorators, array of Zend_XmlRpc_Client_NamespaceDecorator objects
-
$_response
-
The response from an XML-RPC method call, held in a Zend_XmlRpc_Value object
-
$_serverAddress
-
The XML-RPC service server full address
-
_buildMethodsXML
-
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
-
Build the XML body of an XML-RPC request
-
_convertParams
-
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
-
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
-
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
-
Send a XML-RPC request to the service (for a specific method)
-
__call
-
Call a method in this namespace.
-
__call
-
Using the magic __call function to call methods directly by method name
-
__construct
-
Class constructor
-
__construct
-
Class constructor - create a new XML-RPC client to a remote server
-
__get
-
Undefined properties are assumed to be XML-RPC namespaces and return a decorator to enable object chains.
-
__get
-
Get the next successive namespace
-
__getHttpClient
-
Gets the HTTP client object.
-
__getMethodsXml
-
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
-
The response received from the method call, response can be retrieved in 3 formats:
-
__setHttpClient
-
Sets the HTTP client object to use for connecting the XML-RPC server.
-
__setMethodsXml
-
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
-
Call a specific method (with or without parameters) from the XML-RPC service
-
$_as_dom
-
DOMElement representation of object (will be calculated only once)
-
$_as_xml
-
XML code representation of this object (will be calculated only once)
-
$_type
-
The native XML-RPC type of this object
-
$_value
-
The native XML-RPC representation of this object's value
-
_stripXmlDeclaration
-
-
__construct
-
Set the value of an struct native type
-
__construct
-
Set the value of a string native type
-
__construct
-
Set the value of an integer native type
-
__construct
-
Set the value of a boolean native type We hold the boolean type as an integer (0 or 1)
-
__construct
-
Set the value of a base64 native type We keep this value in base64 encoding
-
__construct
-
Set the value of a collection type (array and struct) native types
-
__construct
-
Set the value of a dateTime.iso8601 native type, The value is in iso8601 format
-
__construct
-
Set the value of a double native type
-
__construct
-
Set the value of an array native type
-
getAsDOM
-
Return DOMElement representation of object
-
getAsXML
-
Return the XML code that represent struct native MXL-RPC value
-
getAsXML
-
Return the XML code that represent a native MXL-RPC value
-
getAsXML
-
Return the XML code that represent an array native MXL-RPC value
-
getAsXML
-
Return the XML code that represent a scalar native MXL-RPC value
-
getType
-
Get the native XML-RPC type (the type is one of the Zend_XmlRpc_Value::XMLRPC_TYPE_* constants)
-
getValue
-
Return the value of this object, convert the XML-RPC native base64 value into a PHP string We return this value decoded (a normal string)
-
getValue
-
Return the value of this object, convert the XML-RPC native value into a PHP variable
-
getValue
-
Return the value of this object, convert the XML-RPC native boolean value into a PHP boolean
-
getValue
-
Return the value of this object, convert the XML-RPC native collection values into a PHP array
-
getValue
-
Return the value of this object, convert the XML-RPC native integer value into a PHP integer
-
getValue
-
Return the value of this object, convert the XML-RPC native double value into a PHP float
-
getValue
-
Return the value of this object, convert the XML-RPC native dateTime value into a PHP integer (unix timestamp representation of the iso8601 date format)
-
getValue
-
Return the value of this object, convert the XML-RPC native string value into a PHP string Decode all encoded risky XML entities back to normal characters
-
getXmlRpcValue
-
Creates a Zend_XmlRpc_Value* object, representing a native XML-RPC value