API16

JRegistryFormat/stringToObject: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
Line 4: Line 4:




{{subst:Description:JRegistryFormat/stringToObject}}
 


===Syntax===
===Syntax===
Line 37: Line 37:




{{subst:SeeAlso:JRegistryFormat/stringToObject}}
 


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=stringToObject
  category=stringToObject
  category=JRegistryFormat
  category=JRegistryFormat
  category=CodeExample
  namespace=CodeExample
  category=MethodExample
  category=MethodExample
  include=*
  include=*
  format= ,,,
  format= ,,,
</dpl>
</dpl>

Latest revision as of 02:00, 25 March 2017

Description

Converts an XML formatted string into an object



Syntax

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

Returns

object Data Object

Defined in

libraries/joomla/registry/format.php

Importing

jimport( 'joomla.registry.format' );

Source Body



Examples

Code Examples