JRegistryFormatXML: Difference between revisions
From Joomla! Documentation
New page: <span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
</span>
{{Description:JRegistryFormatXML}}
=... |
m clean up |
||
| Line 1: | Line 1: | ||
{{subst:Description:JRegistryFormatXML}} | |||
{{Description:JRegistryFormatXML}} | |||
===Defined in=== | ===Defined in=== | ||
| Line 24: | Line 21: | ||
<source lang="php">jimport( 'joomla.registry.format.xml' );</source> | <source lang="php">jimport( 'joomla.registry.format.xml' );</source> | ||
{{subst:SeeAlso:JRegistryFormatXML}} | |||
{{SeeAlso:JRegistryFormatXML}} | |||
===Examples=== | ===Examples=== | ||
Revision as of 14:20, 24 March 2017
{{subst:Description:JRegistryFormatXML}}
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' );
{{subst:SeeAlso:JRegistryFormatXML}}
Examples
<CodeExamplesForm />