Difference between revisions of "JRegistryFormatXml"
From Joomla! Documentation
m (JoomlaWikiBot moved page JRegistryFormatXml/11.1 to API17:JRegistryFormatXml without leaving a redirect: Robot: Moved page) |
m (moving preparation) |
||
(One intermediate revision by the same user not shown) | |||
Line 14: | Line 14: | ||
|- | |- | ||
|public | |public | ||
− | |[[JRegistryFormatXml::objectToString | + | |[[API17:JRegistryFormatXml::objectToString|objectToString]] |
|Converts an object into an XML formatted string. | |Converts an object into an XML formatted string. | ||
|- | |- | ||
|public | |public | ||
− | |[[JRegistryFormatXml::stringToObject | + | |[[API17:JRegistryFormatXml::stringToObject|stringToObject]] |
|Parse a XML formatted string and convert it into an object. | |Parse a XML formatted string and convert it into an object. | ||
|- | |- | ||
|protected | |protected | ||
− | |[[JRegistryFormatXml::_getValueFromNode | + | |[[API17:JRegistryFormatXml::_getValueFromNode|_getValueFromNode]] |
|Method to get a PHP native value for a SimpleXMLElement object. | |Method to get a PHP native value for a SimpleXMLElement object. | ||
|- | |- | ||
|protected | |protected | ||
− | |[[JRegistryFormatXml::_getXmlChildren | + | |[[API17:JRegistryFormatXml::_getXmlChildren|_getXmlChildren]] |
|Method to build a level of the XML string -- called recursively. | |Method to build a level of the XML string -- called recursively. | ||
|- | |- | ||
|} | |} | ||
* '''Defined in''' libraries/joomla/registry/format/xml.php | * '''Defined in''' libraries/joomla/registry/format/xml.php | ||
− | * '''Extends''' [[JRegistryFormat | + | * '''Extends''' [[API17:JRegistryFormat|JRegistryFormat]] |
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.registry.format.xml' );</source> | <source lang="php">jimport( 'joomla.registry.format.xml' );</source> | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JRegistryFormatXml source code''' on [[jplatform:registry/format/xml.php|BitBucket]] | * {{JVer|11.1}} '''JRegistryFormatXml source code''' on [[jplatform:registry/format/xml.php|BitBucket]] | ||
− | * {{JVer|11.1}} Subpackage [[Subpackage Registry | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage Registry|Registry]] |
− | * [[JRegistryFormatXml|Other versions of JRegistryFormatXml]] | + | * [[API17:JRegistryFormatXml|Other versions of JRegistryFormatXml]] |
{{SeeAlso:JRegistryFormatXml}} | {{SeeAlso:JRegistryFormatXml}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
Line 53: | Line 53: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude> | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Revision as of 21:23, 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.
JRegistryFormatXml[edit]
Description[edit]
Template:Description:JRegistryFormatXml [Edit Descripton]
Methods[edit]
Visibility | Method name | Description |
---|---|---|
public | objectToString | Converts an object into an XML formatted string. |
public | stringToObject | Parse a XML formatted string and convert it into an object. |
protected | _getValueFromNode | Method to get a PHP native value for a SimpleXMLElement object. |
protected | _getXmlChildren | Method to build a level of the XML string -- called recursively. |
- Defined in libraries/joomla/registry/format/xml.php
- Extends JRegistryFormat
Importing[edit]
jimport( 'joomla.registry.format.xml' );
See also[edit]
- JRegistryFormatXml source code on BitBucket
- Subpackage Registry
- Other versions of JRegistryFormatXml
Template:SeeAlso:JRegistryFormatXml [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />