API17:JRegistry::loadXML
From Joomla! Documentation
(Difference between revisions)
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JRegistry::loadXML|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JRegistry::loadXML|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public | + | public function loadXML ( |
| + | $data | ||
| + | $namespace=null | ||
| + | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 32: | Line 32: | ||
|- | |- | ||
|} | |} | ||
| − | + | * '''Returns''' boolean True on success | |
| − | boolean True on success | + | * '''Defined''' on line 405 of libraries/joomla/registry/registry.php |
| − | + | * '''Since''' {{JVer|11.1 }} | |
| − | libraries/joomla/registry/registry.php | + | |
| − | * | + | |
| − | + | ||
===See also=== | ===See also=== | ||
| + | * {{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}} Subpackage [[Subpackage_Registry/11.1|Registry]] | ||
| + | * [[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> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<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:JRegistry]][[Category:JRegistry::loadXML]]</noinclude> | ||
Revision as of 21:31, 27 April 2011
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JRegistry::loadXML
Description
Load an XML string into the registry into the given namespace [or default if a namespace is not given].
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] |
See also
-
JRegistry::loadXML source code on BitBucket
-
Class JRegistry
-
Subpackage Registry
- Other versions of JRegistry::loadXML
SeeAlso:JRegistry::loadXML [Edit See Also]
User contributed notes
<CodeExamplesForm />
