Represent a native XML-RPC value entity, used as parameters for the methods called by the Zend_XmlRpc_Client object and as the return value for those calls.
This object as a very important static function Zend_XmlRpc_Value::getXmlRpcValue, this function acts likes a factory for the Zend_XmlRpc_Value objects
Using this function, users/Zend_XmlRpc_Client object can create the Zend_XmlRpc_Value objects from PHP variables, XML string or by specifing the exact XML-RPC natvie type
Located in /Zend/XmlRpc/Value.php (line 70)
| Class | Description |
|---|---|
| Zend_XmlRpc_Value_Collection | |
| Zend_XmlRpc_Value_Scalar |
DOMElement representation of object (will be calculated only once)
XML code representation of this object (will be calculated only once)
The native XML-RPC type of this object
One of the XMLRPC_TYPE_* constants
The native XML-RPC representation of this object's value
If the native type of this object is array or struct, this will be an array of Zend_XmlRpc_Value objects
Creates a Zend_XmlRpc_Value* object, representing a native XML-RPC value
A XmlRpcValue object can be created in 3 ways:
Return DOMElement representation of object
Return the XML code that represent a native MXL-RPC value
Get the native XML-RPC type (the type is one of the Zend_XmlRpc_Value::XMLRPC_TYPE_* constants)
Return the value of this object, convert the XML-RPC native value into a PHP variable
AUTO_DETECT_TYPE
= 'auto_detect'
(line 99)
Specify that the XML-RPC native type will be auto detected from a PHP variable type
XMLRPC_TYPE_ARRAY
= 'array'
(line 116)
XMLRPC_TYPE_BASE64
= 'base64'
(line 115)
XMLRPC_TYPE_BOOLEAN
= 'boolean'
(line 112)
XMLRPC_TYPE_DATETIME
= 'dateTime.iso8601'
(line 114)
XMLRPC_TYPE_DOUBLE
= 'double'
(line 111)
XMLRPC_TYPE_I4
= 'i4'
(line 109)
All the XML-RPC native types
XMLRPC_TYPE_INTEGER
= 'int'
(line 110)
XMLRPC_TYPE_STRING
= 'string'
(line 113)
XMLRPC_TYPE_STRUCT
= 'struct'
(line 117)
XML_STRING
= 'xml'
(line 104)
Specify that the XML-RPC value will be parsed out from a given XML code
Documentation generated on Sun, 29 Oct 2006 21:27:36 -0600 by phpDocumentor 1.3.0RC6