JRegistry::loadString: Difference between revisions
From Joomla! Documentation
Layout updates |
Updated to r1448:247ba8d88526 |
||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JRegistry::loadString|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JRegistry::loadString|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
<source lang="php"> | <source lang="php"> | ||
public | public function loadString ( | ||
$data | |||
$format= 'JSON' | |||
$options=array | |||
) | |||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 37: | Line 38: | ||
|- | |- | ||
|} | |} | ||
* '''Returns''' boolean True on success | |||
boolean True on success | * '''Defined''' on line 237 of libraries/joomla/registry/registry.php | ||
* '''Since''' {{JVer|11.1 }} | |||
libraries/joomla/registry/registry.php | |||
* | |||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JRegistry::loadString source code''' on [[jplatform:registry/registry.php#cl-229|BitBucket]] | |||
* {{JVer|11.1}} Class [[JRegistry/11.1|JRegistry]] | |||
* {{JVer|11.1}} Subpackage [[Subpackage_Registry/11.1|Registry]] | |||
* [[JRegistry::loadString|Other versions of JRegistry::loadString]] | |||
{{SeeAlso:JRegistry::loadString}} | |||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JRegistry::loadString|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JRegistry::loadString|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
===User contributed notes=== | |||
=== | |||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 58: | Line 58: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
namespace=CodeExample | |||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JRegistry]][[Category:JRegistry::loadString]]</noinclude> | <noinclude>[[Category:JRegistry]][[Category:JRegistry::loadString]]</noinclude> | ||
Revision as of 02:31, 28 April 2011
JRegistry::loadString
Description
Load a string into the registry.
Template:Description:JRegistry::loadString [Edit Descripton]
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
Template:SeeAlso:JRegistry::loadString [Edit See Also]
User contributed notes
<CodeExamplesForm />