API17

Difference between revisions of "JRegistryFormatXml::stringToObject"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JRegistryFormatXml::stringToObject|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JRegistryFormatXml::stringToObject|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JRegistryFormatXml::stringToObject ($data, $options=array())
+
public function stringToObject (
 +
        $data
 +
        $options=array
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 32: Line 32:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' object Data object.
object Data object.
+
* '''Defined''' on line 68 of libraries/joomla/registry/format/xml.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/registry/format/xml.php (line 68)
 
* see source code in [[jplatform:registry/format/xml.php#cl-68|BitBucket]]
 
===Referenced by===
 
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JRegistryFormatXml::stringToObject source code''' on [[jplatform:registry/format/xml.php#cl-60|BitBucket]]
 +
* {{JVer|11.1}} Class [[JRegistryFormatXml/11.1|JRegistryFormatXml]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Registry/11.1|Registry]]
 +
* [[JRegistryFormatXml::stringToObject|Other versions of JRegistryFormatXml::stringToObject]]
 +
{{SeeAlso:JRegistryFormatXml::stringToObject}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JRegistryFormatXml::stringToObject|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JRegistryFormatXml::stringToObject|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JRegistryFormatXml/11.1|JRegistryFormatXml]]
+
===User contributed notes===
* [[JRegistryFormatXml::stringToObject|Other versions of this method]]
 
{{SeeAlso:JRegistryFormatXml::stringToObject}}
 
===Examples===
 
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 53: Line 52:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JRegistryFormatXml]][[Category:JRegistryFormatXml::stringToObject]]</noinclude>
 
<noinclude>[[Category:JRegistryFormatXml]][[Category:JRegistryFormatXml::stringToObject]]</noinclude>

Revision as of 21:32, 27 April 2011

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 JRegistryFormatXml::stringToObject[edit]

Description[edit]

Parse a XML formatted string and convert it into an object.

Template:Description:JRegistryFormatXml::stringToObject [Edit Descripton]

public function stringToObject (
        $data
        $options=array
)
Parameter Type Default Description
$data string XML formatted string to convert.
$options array array() Options used by the formatter.
  • Returns object Data object.
  • Defined on line 68 of libraries/joomla/registry/format/xml.php
  • Since Joomla 11.1

See also[edit]

Template:SeeAlso:JRegistryFormatXml::stringToObject [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />