API16

JRegistryFormatXML/stringToObject

From Joomla! Documentation

< API16:JRegistryFormatXML
Revision as of 17:45, 22 March 2010 by Doxiki (talk | contribs) (New page: ===Description=== Parse a XML formatted string and convert it into an object. <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>[[Description:JRegistryFormatXML/stri...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The "API16" 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.

Description[edit]

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

[Edit Descripton]

Template:Description:JRegistryFormatXML/stringToObject

Syntax[edit]

stringToObject($data, $namespace='')
Parameter Name Default Value Description
$data XML Formatted String
$namespace

Returns[edit]

object Data object.

Defined in[edit]

libraries/joomla/registry/format/xml.php

Importing[edit]

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

Source Body[edit]

public function stringToObject($data, $namespace='')
{
        return true;
}

[Edit See Also] Template:SeeAlso:JRegistryFormatXML/stringToObject

Examples[edit]

<CodeExamplesForm />