API17

JRegistry::loadString: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
Line 4: Line 4:
Load a string into the registry.  
Load a string into the registry.  


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


<source lang="php">
<source lang="php">
Line 44: 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]]
{{subst:SeeAlso:JRegistry::loadString}}
 


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

Latest revision as of 03:34, 25 March 2017

Joomla 11.1 JRegistry::loadString

Description

Load a string into the registry.


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


User contributed notes

Code Examples