JRegistryFormatXML/stringToObject
From Joomla! Documentation
< API15:JRegistryFormatXML
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
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 />