Actions

API17

Difference between revisions of "JRegistry::loadINI"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JRegistry::loadINI|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JRegistry::loadINI|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JRegistry::loadINI ($data, $namespace=null, $options=array())
+
public function loadINI (
 +
        $data
 +
        $namespace=null
 +
        $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 420 of libraries/joomla/registry/registry.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/registry/registry.php (line 420)
+
* see source code in [[jplatform:registry/registry.php#cl-420|BitBucket]]
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JRegistry::loadINI source code''' on [[jplatform:registry/registry.php#cl-412|BitBucket]]
 +
* {{JVer|11.1}} Class [[JRegistry/11.1|JRegistry]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Registry/11.1|Registry]]
 +
* [[JRegistry::loadINI|Other versions of JRegistry::loadINI]]
 +
{{SeeAlso:JRegistry::loadINI}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JRegistry::loadINI|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JRegistry::loadINI|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JRegistry/11.1|JRegistry]]
+
===User contributed notes===
* [[JRegistry::loadINI|Other versions of this method]]
+
{{SeeAlso:JRegistry::loadINI}}
+
===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::loadINI]]</noinclude>
 
<noinclude>[[Category:JRegistry]][[Category:JRegistry::loadINI]]</noinclude>

Revision as of 21:31, 27 April 2011

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JRegistry::loadINI

Description

Load an INI string into the registry into the given namespace [or default if a namespace is not given].

Description:JRegistry::loadINI [Edit Descripton]

public function loadINI (
        $data
        $namespace=null
        $options=array
)
Parameter Type Default Description
$data string INI formatted string to load into the registry
$namespace string null Namespace to load the INI string into [optional]
$options mixed array() An array of options for the formatter, or boolean to process sections.
  • Returns boolean True on success
  • Defined on line 420 of libraries/joomla/registry/registry.php
  • Since Joomla 11.1

See also

SeeAlso:JRegistry::loadINI [Edit See Also]

User contributed notes

<CodeExamplesForm />