API15

JRegistryFormatXML/stringToObject: Difference between revisions

From Joomla! Documentation

Doxiki (talk | contribs)
New page: ===Description=== Converts an XML formatted string into an object <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>[[Description:JRegistryFormatXML/stringToObject|E...
 
m preparing for archive only
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:


<span class="editsection" style="font-size:76%;">
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[Description:JRegistryFormatXML/stringToObject|Edit Descripton]]<nowiki>]</nowiki>
<nowiki>[<! removed edit link to red link >]</nowiki>
</span>
</span>


{{Description:JRegistryFormatXML/stringToObject}}
<! removed transcluded page call, red link never existed >


===Syntax===
===Syntax===
Line 42: Line 42:


<span class="editsection" style="font-size:76%;">
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[SeeAlso:JRegistryFormatXML/stringToObject|Edit See Also]]<nowiki>]</nowiki>
<nowiki>[<! removed edit link to red link >]</nowiki>
</span>
</span>
{{SeeAlso:JRegistryFormatXML/stringToObject}}
<! removed transcluded page call, red link never existed >


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=stringToObject
  category=stringToObject
  category=JRegistryFormatXML
  category=JRegistryFormatXML
  category=CodeExample
  namespace=CodeExample
  category=MethodExample
  category=MethodExample
  include=*
  include=*
  format= ,,,
  format= ,,,
</dpl>
</dpl>
[[Category:Archived pages API15]]

Latest revision as of 01:04, 25 March 2017

Description

Converts an XML formatted string into an object

[<! removed edit link to red link >]

<! removed transcluded page call, red link never existed >

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

function stringToObject( $data, $namespace='' ) {
        return true;
}

[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >

Examples

Code Examples