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]. | ||
<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]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JRegistry::loadJSON | category=JRegistry::loadJSON | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Latest revision as of 03:34, 25 March 2017
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 |
See also
JRegistry::loadJSON source code on BitBucket
Class JRegistry
Subpackage Registry- Other versions of JRegistry::loadJSON
User contributed notes
Code Examples