![]() |
Joomla CMS
3.9.25 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.9.25 et du framework Joomla Platform intégré
|
Graphe d'héritage de Xml:Fonctions membres publiques | |
| objectToString ($object, $options=array()) | |
| stringToObject ($data, array $options=array()) | |
Fonctions membres protégées | |
| getValueFromNode ($node) | |
| getXmlChildren (SimpleXMLElement $node, $var, $nodeName) | |
Membres hérités additionnels | |
Fonctions membres publiques statiques hérités de AbstractRegistryFormat | |
| static | getInstance ($type, array $options=array()) |
Attributs protégés statiques hérités de AbstractRegistryFormat | |
| static | $instances = array() |
XML format handler for Registry.
|
protected |
Method to get a PHP native value for a SimpleXMLElement object. – called recursively
| object | $node | SimpleXMLElement object for which to get the native value. |
Références $value.
Référencé par Xml\stringToObject().
|
protected |
Method to build a level of the XML string – called recursively
| SimpleXMLElement | $node | SimpleXMLElement object to attach children. |
| object | $var | Object that represents a node of the XML document. |
| string | $nodeName | The name to use for node elements. |
Références $n.
Référencé par Xml\objectToString().
| objectToString | ( | $object, | |
$options = array() |
|||
| ) |
Converts an object into an XML formatted string.
| object | $object | Data source object. |
| array | $options | Options used by the formatter. |
Implémente FormatInterface.
Références $options, $root, et Xml\getXmlChildren().
| stringToObject | ( | $data, | |
| array | $options = array() |
||
| ) |
Parse a XML formatted string and convert it into an object.
| string | $data | XML formatted string to convert. |
| array | $options | Options used by the formatter. |
Implémente FormatInterface.
Références $data, et Xml\getValueFromNode().