Zend Framework
1.12
|
Public Member Functions | |
__construct ($value) | |
Set the value of a string native type. | |
getValue () | |
Return the value of this object, convert the XML-RPC native string value into a PHP string. | |
Additional Inherited Members | |
![]() | |
static | getGenerator () |
Get XML generator instance. | |
static | setGenerator (Zend_XmlRpc_Generator_GeneratorAbstract $generator) |
Sets XML generator instance. | |
static | setEncoding ($encoding) |
Changes the encoding of the generator. | |
static | getXmlRpcValue ($value, $type=self::AUTO_DETECT_TYPE) |
Creates a Zend_XmlRpc_Value* object, representing a native XML-RPC value A XmlRpcValue object can be created in 3 ways: 1. | |
static | getXmlRpcTypeByValue ($value) |
Get XML-RPC type for a PHP native variable. | |
![]() | |
const | AUTO_DETECT_TYPE = 'auto_detect' |
Specify that the XML-RPC native type will be auto detected from a PHP variable type. | |
const | XML_STRING = 'xml' |
Specify that the XML-RPC value will be parsed out from a given XML code. | |
const | XMLRPC_TYPE_I4 = 'i4' |
All the XML-RPC native types. | |
const | XMLRPC_TYPE_INTEGER = 'int' |
const | XMLRPC_TYPE_I8 = 'i8' |
const | XMLRPC_TYPE_APACHEI8 = 'ex:i8' |
const | XMLRPC_TYPE_DOUBLE = 'double' |
const | XMLRPC_TYPE_BOOLEAN = 'boolean' |
const | XMLRPC_TYPE_STRING = 'string' |
const | XMLRPC_TYPE_DATETIME = 'dateTime.iso8601' |
const | XMLRPC_TYPE_BASE64 = 'base64' |
const | XMLRPC_TYPE_ARRAY = 'array' |
const | XMLRPC_TYPE_STRUCT = 'struct' |
const | XMLRPC_TYPE_NIL = 'nil' |
const | XMLRPC_TYPE_APACHENIL = 'ex:nil' |
![]() | |
_generateXml () | |
Generate the XML code that represent a scalar native MXL-RPC value. | |
![]() | |
static | _phpVarToNativeXmlRpc ($value) |
Transform a PHP native variable into a XML-RPC native value. | |
static | _xmlStringToNativeXmlRpc ($xml) |
Transform an XML string into a XML-RPC native value. | |
static | _createSimpleXMLElement (&$xml) |
static | _extractTypeAndValue (SimpleXMLElement $xml, &$type, &$value) |
Extract XML/RPC type and value from SimpleXMLElement object. | |
![]() | |
$_value | |
The native XML-RPC representation of this object's value. | |
$_type | |
The native XML-RPC type of this object One of the XMLRPC_TYPE_* constants. | |
$_xml | |
XML code representation of this object (will be calculated only once) | |
![]() | |
static | $_generator |
__construct | ( | $value | ) |
Set the value of a string native type.
string | $value |
getValue | ( | ) |
Return the value of this object, convert the XML-RPC native string value into a PHP string.