JRegistryFormatXML: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 1: | Line 1: | ||
===Defined in=== | ===Defined in=== | ||
libraries/joomla/registry/format/xml.php | libraries/joomla/registry/format/xml.php | ||
| Line 22: | Line 20: | ||
===Examples=== | ===Examples=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JRegistryFormatXML | category=JRegistryFormatXML | ||
namespace=CodeExample | |||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
Latest revision as of 02:00, 25 March 2017
Defined in
libraries/joomla/registry/format/xml.php
Methods
| Method name | Description |
|---|---|
| objectToString | 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. |
| stringToObject | Parse a XML formatted string and convert it into an object. |
Importing
jimport( 'joomla.registry.format.xml' );
Examples
Code Examples