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