Difference between revisions of "JRegistryFormatXml"
From Joomla! Documentation
m (→User contributed notes: bad link repair) |
m (preparing for archive only) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
=={{JVer|11.1}} JRegistryFormatXml== | =={{JVer|11.1}} JRegistryFormatXml== | ||
===Description=== | ===Description=== | ||
− | + | ||
− | + | ||
− | |||
− | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
Line 14: | Line 12: | ||
|- | |- | ||
|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]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JRegistryFormatXml | category=JRegistryFormatXml | ||
− | + | namespace=CodeExample | |
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
Line 53: | Line 49: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude> | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 22:35, 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.
JRegistryFormatXml[edit]
Description[edit]
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
User contributed notes[edit]
Code Examples[edit]