Actions

API17

Difference between revisions of "JRegistryFormatXml"

From Joomla! Documentation

(Layout updates)
m (moving preparation)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 +
=={{JVer|11.1}} JRegistryFormatXml==
 +
===Description===
 +
{{Description:JRegistryFormatXml}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JRegistryFormatXml|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JRegistryFormatXml|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
{{Description:JRegistryFormatXml}}
 
===Defined in===
 
libraries/joomla/registry/format/xml.php
 
* see source code in [[jplatform:registry/format/xml.php|BitBucket]]
 
===Subpackage===
 
[[Subpackage Registry/11.1|Registry]]
 
===Extends===
 
[[JRegistryFormat/11.1|JRegistryFormat]]
 
===Extended by===
 
 
===Methods===
 
===Methods===
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-
 +
!Visibility
 
!Method name
 
!Method name
 
!Description
 
!Description
 
|-
 
|-
|[[JRegistryFormatXml::objectToString/11.1|objectToString]]
+
|public
 +
|[[API17:JRegistryFormatXml::objectToString|objectToString]]
 
|Converts an object into an XML formatted string.  
 
|Converts an object into an XML formatted string.  
 
|-
 
|-
|[[JRegistryFormatXml::stringToObject/11.1|stringToObject]]
+
|public
 +
|[[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.  
 
|-
 
|-
|[[JRegistryFormatXml::_getValueFromNode/11.1|_getValueFromNode]]
+
|protected
 +
|[[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.  
 
|-
 
|-
|[[JRegistryFormatXml::_getXmlChildren/11.1|_getXmlChildren]]
+
|protected
 +
|[[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
 +
* '''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===
* JRegistryFormatXml source code in [[jplatform:registry/format/xml.php|BitBucket]]
+
* {{JVer|11.1}} '''JRegistryFormatXml source code''' on [[jplatform:registry/format/xml.php|BitBucket]]
* [[JRegistryFormatXml|Other versions of this class]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage Registry|Registry]]
 +
* [[API17:JRegistryFormatXml|Other versions of JRegistryFormatXml]]
 
{{SeeAlso:JRegistryFormatXml}}
 
{{SeeAlso:JRegistryFormatXml}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JRegistryFormatXml|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JRegistryFormatXml|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Examples===
+
===User contributed notes===
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 48: Line 50:
 
category=ClassExample
 
category=ClassExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JRegistryFormatXml]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 21:23, 11 May 2013

Replacement filing cabinet.png
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.

Joomla 11.1 JRegistryFormatXml

Description

Description:JRegistryFormatXml [Edit Descripton]

Methods

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

jimport( 'joomla.registry.format.xml' );

See also

  • Joomla 11.1 JRegistryFormatXml source code on BitBucket
  • Joomla 11.1 Subpackage Registry
  • Other versions of JRegistryFormatXml

SeeAlso:JRegistryFormatXml [Edit See Also]

User contributed notes

<CodeExamplesForm />