JRegistryFormatXML/stringToObject: Difference between revisions
From Joomla! Documentation
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... |
m clean up |
||
| Line 2: | Line 2: | ||
Parse a XML formatted string and convert it into an object. | Parse a XML formatted string and convert it into an object. | ||
{{Description:JRegistryFormatXML/stringToObject}} | |||
{{subst:Description:JRegistryFormatXML/stringToObject}} | |||
===Syntax=== | ===Syntax=== | ||
| Line 42: | Line 40: | ||
</source> | </source> | ||
{{subst:SeeAlso:JRegistryFormatXML/stringToObject}} | |||
{{SeeAlso:JRegistryFormatXML/stringToObject}} | |||
===Examples=== | ===Examples=== | ||
Revision as of 14:20, 24 March 2017
Description
Parse a XML formatted string and convert it into an object.
{{subst:Description:JRegistryFormatXML/stringToObject}}
Syntax
stringToObject($data, $namespace='')
| Parameter Name | Default Value | Description |
|---|---|---|
| $data | XML Formatted String | |
| $namespace |
Returns
object Data object.
Defined in
libraries/joomla/registry/format/xml.php
Importing
jimport( 'joomla.registry.format.xml' );
Source Body
public function stringToObject($data, $namespace='')
{
return true;
}
{{subst:SeeAlso:JRegistryFormatXML/stringToObject}}
Examples
<CodeExamplesForm />