API17

Difference between revisions of "JRegistry::loadXML"

From Joomla! Documentation

(Layout updates)
m (→‎See also: moving preparation)
(3 intermediate revisions by 2 users not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JRegistry::loadXML|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JRegistry::loadXML|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JRegistry::loadXML ($data, $namespace=null)
+
public function loadXML (
 +
        $data
 +
        $namespace=null
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 32: Line 32:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' boolean True on success
boolean True on success
+
* '''Defined''' on line 405 of libraries/joomla/registry/registry.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/registry/registry.php (line 405)
 
* see source code in [[jplatform:registry/registry.php#cl-405|BitBucket]]
 
===Referenced by===
 
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JRegistry::loadXML source code''' on [[jplatform:registry/registry.php#cl-397|BitBucket]]
 +
* {{JVer|11.1}} Class [[API17:JRegistry|JRegistry]]
 +
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Registry|Registry]]
 +
* [[API17:JRegistry::loadXML|Other versions of JRegistry::loadXML]]
 +
{{SeeAlso:JRegistry::loadXML}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JRegistry::loadXML|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JRegistry::loadXML|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JRegistry/11.1|JRegistry]]
+
===User contributed notes===
* [[JRegistry::loadXML|Other versions of this method]]
 
{{SeeAlso:JRegistry::loadXML}}
 
===Examples===
 
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 53: Line 52:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JRegistry]][[Category:JRegistry::loadXML]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Revision as of 21:22, 11 May 2013

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].

Template:Description:JRegistry::loadXML [Edit Descripton]

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]

Template:SeeAlso:JRegistry::loadXML [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />