API17

JRegistry::loadJSON: Difference between revisions

From Joomla! Documentation

m →See also: moving preparation
m clean up
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].  


{{Description:JRegistry::loadJSON}}
{{subst:Description:JRegistry::loadJSON}}
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JRegistry::loadJSON|Edit Descripton]]<nowiki>]</nowiki>
</span>
<source lang="php">
<source lang="php">
public function loadJSON ($data)
public function loadJSON ($data)
Line 32: 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]]
{{SeeAlso:JRegistry::loadJSON}}
{{subst:SeeAlso:JRegistry::loadJSON}}
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JRegistry::loadJSON|Edit See Also]]<nowiki>]</nowiki>
</span>
===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
<CodeExamplesForm />

Revision as of 15:59, 24 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].

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

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

{{subst:SeeAlso:JRegistry::loadJSON}}

User contributed notes

<CodeExamplesForm />