Actions

API15

Difference between revisions of "JRegistryFormatINI"

From Joomla! Documentation

(New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JRegistryFormatINI}} =...)
 
 
Line 20: Line 20:
 
|Parse an .ini string, based on phpDocumentor phpDocumentor_parse_ini_file function
 
|Parse an .ini string, based on phpDocumentor phpDocumentor_parse_ini_file function
 
|}
 
|}
 +
 
===Importing===
 
===Importing===
 
<source lang="php">jimport( 'joomla.registry.format.ini' );</source>
 
<source lang="php">jimport( 'joomla.registry.format.ini' );</source>

Latest revision as of 12:39, 25 March 2010

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.

[Edit Descripton] Description:JRegistryFormatINI

Contents

Defined in

libraries/joomla/registry/format/ini.php

Methods

Method name Description
objectToString Converts an object into an INI formatted string

Unfortunately, there is no way to have ini values nested further than two levels deep. Therefore we will only go through the first two levels of the object.

stringToObject Parse an .ini string, based on phpDocumentor phpDocumentor_parse_ini_file function

Importing

jimport( 'joomla.registry.format.ini' );

[Edit See Also] SeeAlso:JRegistryFormatINI

Examples

<CodeExamplesForm />