[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
Part of the Joomla Framework Registry Package
Copyright: | Copyright (C) 2005 - 2021 Open Source Matters, Inc. All rights reserved. |
License: | GNU General Public License version 2 or later; see LICENSE |
File Size: | 160 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Xml:: (4 methods):
objectToString()
stringToObject()
getValueFromNode()
getXmlChildren()
objectToString($object, array $options = []) X-Ref |
Converts an object into an XML formatted string. - If more than two levels of nested groups are necessary, since INI is not useful, XML or another format should be used. param: object $object Data source object. param: array $options Options used by the formatter. return: string XML formatted string. |
stringToObject($data, array $options = []) X-Ref |
Parse a XML formatted string and convert it into an object. param: string $data XML formatted string to convert. param: array $options Options used by the formatter. return: object Data object. |
getValueFromNode($node) X-Ref |
Method to get a PHP native value for a SimpleXMLElement object. -- called recursively param: object $node SimpleXMLElement object for which to get the native value. return: mixed Native value of the SimpleXMLElement object. |
getXmlChildren(SimpleXMLElement $node, $var, $nodeName) X-Ref |
Method to build a level of the XML string -- called recursively param: SimpleXMLElement $node SimpleXMLElement object to attach children. param: object $var Object that represents a node of the XML document. param: string $nodeName The name to use for node elements. return: void |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |