API15

Difference between revisions of "JRegistryFormatXML"

From Joomla! Documentation

m (preparing for archive only)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JRegistryFormatXML|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
{{Description:JRegistryFormatXML}}
 
 
 
===Defined in===
 
===Defined in===
 
libraries/joomla/registry/format/xml.php
 
libraries/joomla/registry/format/xml.php
Line 24: Line 19:
 
<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>
+
 
</span>
 
{{SeeAlso:JRegistryFormatXML}}
 
  
 
===Examples===
 
===Examples===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
  noresultsheader=\n
 
  noresultsheader=\n
 
  category=JRegistryFormatXML
 
  category=JRegistryFormatXML
  category=CodeExample
+
  namespace=CodeExample
 
  category=ClassExample
 
  category=ClassExample
 
  include=*
 
  include=*
 
  format= ,,,
 
  format= ,,,
 
</dpl>
 
</dpl>

Latest revision as of 20:04, 24 March 2017

The "API15" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Defined in[edit]

libraries/joomla/registry/format/xml.php

Methods[edit]

Method name Description
stringToObject Converts an XML formatted string into an object
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.

Importing[edit]

jimport( 'joomla.registry.format.xml' );



Examples[edit]

Code Examples[edit]