API15

JRegistryFormatXML/stringToObject

From Joomla! Documentation

< API15:JRegistryFormatXML
Revision as of 17:24, 22 March 2010 by Doxiki (talk | contribs) (New page: ===Description=== Converts an XML formatted string into an object <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>[[Description:JRegistryFormatXML/stringToObject|E...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The "API15" 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]

Converts an XML formatted string 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]

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

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

Examples[edit]

<CodeExamplesForm />