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