Actions

API16

JRegistryFormatXML/stringToObject

< 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

Parse a XML formatted string and convert it into an object.



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;
}



Examples

Code Examples


Advertisement