[ Index ] |
PHP Cross Reference of moodle-2.8 |
[Source view] [Print] [Project Stats]
Zend Framework LICENSE
Copyright: | Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
License: | http://framework.zend.com/license/new-bsd New BSD License |
Version: | $Id$ |
File Size: | 484 lines (18 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
getType() X-Ref |
Get the native XML-RPC type (the type is one of the Zend_XmlRpc_Value::XMLRPC_TYPE_* constants) return: string |
getGenerator() X-Ref |
Get XML generator instance return: Zend_XmlRpc_Generator_GeneratorAbstract |
setGenerator(Zend_XmlRpc_Generator_GeneratorAbstract $generator) X-Ref |
Sets XML generator instance param: Zend_XmlRpc_Generator_GeneratorAbstract $generator return: void |
setEncoding($encoding) X-Ref |
Changes the encoding of the generator param: string $encoding return: void |
saveXml() X-Ref |
Return the XML code that represent a native MXL-RPC value return: string |
generateXml() X-Ref |
Generate XML code that represent a native XML/RPC value return: void |
getXmlRpcValue($value, $type = self::AUTO_DETECT_TYPE) X-Ref |
Creates a Zend_XmlRpc_Value* object, representing a native XML-RPC value A XmlRpcValue object can be created in 3 ways: 1. Autodetecting the native type out of a PHP variable (if $type is not set or equal to Zend_XmlRpc_Value::AUTO_DETECT_TYPE) 2. By specifing the native type ($type is one of the Zend_XmlRpc_Value::XMLRPC_TYPE_* constants) 3. From a XML string ($type is set to Zend_XmlRpc_Value::XML_STRING) By default the value type is autodetected according to it's PHP type param: mixed $value param: Zend_XmlRpc_Value::constant $type return: Zend_XmlRpc_Value |
_phpVarToNativeXmlRpc($value) X-Ref |
Transform a PHP native variable into a XML-RPC native value param: mixed $value The PHP variable for convertion return: Zend_XmlRpc_Value |
_xmlStringToNativeXmlRpc($xml) X-Ref |
Transform an XML string into a XML-RPC native value param: string|SimpleXMLElement $xml A SimpleXMLElement object represent the XML string return: Zend_XmlRpc_Value |
_createSimpleXMLElement(&$xml) X-Ref |
No description |
_extractTypeAndValue(SimpleXMLElement $xml, &$type, &$value) X-Ref |
Extract XML/RPC type and value from SimpleXMLElement object param: SimpleXMLElement $xml param: string &$type Type bind variable param: string &$value Value bind variable return: void |
_setXML($xml) X-Ref |
param: $xml return: void |
Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |