API17

JRegistry::loadString: Difference between revisions

From Joomla! Documentation

m →See also: moving preparation
m clean up
Line 4: Line 4:
Load a string into the registry.  
Load a string into the registry.  


{{Description:JRegistry::loadString}}
{{subst:Description:JRegistry::loadString}}
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JRegistry::loadString|Edit Descripton]]<nowiki>]</nowiki>
</span>
<source lang="php">
<source lang="php">
public function loadString (
public function loadString (
Line 46: Line 44:
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Registry|Registry]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Registry|Registry]]
* [[API17:JRegistry::loadString|Other versions of JRegistry::loadString]]
* [[API17:JRegistry::loadString|Other versions of JRegistry::loadString]]
{{SeeAlso:JRegistry::loadString}}
{{subst:SeeAlso:JRegistry::loadString}}
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JRegistry::loadString|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::loadString

Description

Load a string into the registry.

{{subst:Description:JRegistry::loadString}}

public function loadString (
        $data
        $format= 'JSON'
        $options=array
)
Parameter Type Default Description
$data string string to load into the registry
$format string 'JSON' format of the string
$options mixed array() Options used by the formatter
  • Returns boolean True on success
  • Defined on line 237 of libraries/joomla/registry/registry.php
  • Since Joomla 11.1

See also

{{subst:SeeAlso:JRegistry::loadString}}

User contributed notes

<CodeExamplesForm />