API17

Difference between revisions of "JRegistry::loadJSON"

From Joomla! Documentation

(Layout updates)
m (→‎See also: moving preparation)
(3 intermediate revisions by 2 users not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JRegistry::loadJSON|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JRegistry::loadJSON|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JRegistry::loadJSON ($data)
+
public function loadJSON ($data)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 27: Line 24:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' boolean True on success
boolean True on success
+
* '''Defined''' on line 433 of libraries/joomla/registry/registry.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/registry/registry.php (line 433)
 
* see source code in [[jplatform:registry/registry.php#cl-433|BitBucket]]
 
===Referenced by===
 
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JRegistry::loadJSON source code''' on [[jplatform:registry/registry.php#cl-425|BitBucket]]
 +
* {{JVer|11.1}} Class [[API17:JRegistry|JRegistry]]
 +
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Registry|Registry]]
 +
* [[API17:JRegistry::loadJSON|Other versions of JRegistry::loadJSON]]
 +
{{SeeAlso:JRegistry::loadJSON}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JRegistry::loadJSON|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JRegistry::loadJSON|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JRegistry/11.1|JRegistry]]
+
===User contributed notes===
* [[JRegistry::loadJSON|Other versions of this method]]
 
{{SeeAlso:JRegistry::loadJSON}}
 
===Examples===
 
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 48: Line 44:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JRegistry]][[Category:JRegistry::loadJSON]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Revision as of 21:21, 11 May 2013

The "API17" 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.

Joomla 11.1 JRegistry::loadJSON[edit]

Description[edit]

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

Template:Description:JRegistry::loadJSON [Edit Descripton]

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[edit]

Template:SeeAlso:JRegistry::loadJSON [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />