API17

JRegistry::loadJSON: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
Line 4: Line 4:
Load an JSON string into the registry into the given namespace [or default if a namespace is not given].  
Load an JSON string into the registry into the given namespace [or default if a namespace is not given].  


{{subst:Description:JRegistry::loadJSON}}
 


<source lang="php">
<source lang="php">
Line 30: Line 30:
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Registry|Registry]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Registry|Registry]]
* [[API17:JRegistry::loadJSON|Other versions of JRegistry::loadJSON]]
* [[API17:JRegistry::loadJSON|Other versions of JRegistry::loadJSON]]
{{subst:SeeAlso:JRegistry::loadJSON}}
 


===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JRegistry::loadJSON
category=JRegistry::loadJSON
category=CodeExample
namespace=CodeExample
category=MethodExample
category=MethodExample
include=*
include=*

Latest revision as of 03:34, 25 March 2017

Joomla 11.1 JRegistry::loadJSON

Description

Load an JSON string into the registry into the given namespace [or default if a namespace is not given].


public function loadJSON ($data)
Parameter Type Default Description
$data string JSON formatted string to load into the registry
  • Returns boolean True on success
  • Defined on line 433 of libraries/joomla/registry/registry.php
  • Since Joomla 11.1

See also


User contributed notes

Code Examples