API17

JRegistry::loadString: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Layout updates
Doxiki2 (talk | contribs)
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>
===Since===
{{JVer|11.1 }}
===Synopsis===
<source lang="php">
<source lang="php">
public JRegistry::loadString ($data, $format= 'JSON', $options=array())
public function loadString (
        $data
        $format= 'JSON'
        $options=array
)
</source>
</source>
{| class="wikitable"
{| class="wikitable"
Line 37: Line 38:
|-
|-
|}
|}
===Returns===
* '''Returns''' boolean True on success
boolean True on success
* '''Defined''' on line 237 of libraries/joomla/registry/registry.php
===Defined in===
* '''Since''' {{JVer|11.1 }}
libraries/joomla/registry/registry.php (line 237)
* see source code in [[jplatform:registry/registry.php#cl-237|BitBucket]]
===Referenced by===
===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>
* [[JRegistry/11.1|JRegistry]]
===User contributed notes===
* [[JRegistry::loadString|Other versions of this method]]
{{SeeAlso:JRegistry::loadString}}
===Examples===
<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

Joomla 11.1 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
  • Returns boolean True on success
  • Defined on line 237 of libraries/joomla/registry/registry.php
  • Since Joomla 11.1

See also

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

User contributed notes

<CodeExamplesForm />