API17

Difference between revisions of "JRegistry::loadXML"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (preparing for archive only)
 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
Load an XML string into the registry into the given namespace [or default if a namespace is not given].  
 
Load an XML string into the registry into the given namespace [or default if a namespace is not given].  
  
{{Description:JRegistry::loadXML}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JRegistry::loadXML|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
 
<source lang="php">
 
<source lang="php">
 
public function loadXML (
 
public function loadXML (
Line 37: Line 35:
 
===See also===
 
===See also===
 
* {{JVer|11.1}} '''JRegistry::loadXML source code''' on [[jplatform:registry/registry.php#cl-397|BitBucket]]
 
* {{JVer|11.1}} '''JRegistry::loadXML source code''' on [[jplatform:registry/registry.php#cl-397|BitBucket]]
* {{JVer|11.1}} Class [[JRegistry/11.1|JRegistry]]
+
* {{JVer|11.1}} Class [[API17:JRegistry|JRegistry]]
* {{JVer|11.1}} Subpackage [[Subpackage_Registry/11.1|Registry]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Registry|Registry]]
* [[JRegistry::loadXML|Other versions of JRegistry::loadXML]]
+
* [[API17:JRegistry::loadXML|Other versions of JRegistry::loadXML]]
{{SeeAlso:JRegistry::loadXML}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[SeeAlso:JRegistry::loadXML|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
 
===User contributed notes===
 
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JRegistry::loadXML
 
category=JRegistry::loadXML
category=CodeExample
+
namespace=CodeExample
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
Line 55: Line 51:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JRegistry]][[Category:JRegistry::loadXML]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 22:34, 24 March 2017

The "API17" 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.

Joomla 11.1 JRegistry::loadXML[edit]

Description[edit]

Load an XML string into the registry into the given namespace [or default if a namespace is not given].


public function loadXML (
        $data
        $namespace=null
)
Parameter Type Default Description
$data string XML formatted string to load into the registry
$namespace string null Namespace to load the XML string into [optional]
  • Returns boolean True on success
  • Defined on line 405 of libraries/joomla/registry/registry.php
  • Since Joomla 11.1

See also[edit]


User contributed notes[edit]

Code Examples[edit]