API16

JRegistryFormatXML: Difference between revisions

From Joomla! Documentation

Doxiki (talk | contribs)
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:
<span class="editsection" style="font-size:76%;">
{{subst:Description:JRegistryFormatXML}}
<nowiki>[</nowiki>[[Description:JRegistryFormatXML|Edit Descripton]]<nowiki>]</nowiki>
</span>
{{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>


<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JRegistryFormatXML|Edit See Also]]<nowiki>]</nowiki>
{{subst:SeeAlso:JRegistryFormatXML}}
</span>
{{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 />