API16

JRegistryFormatINI

From Joomla! Documentation

The "API16" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Defined in[edit]

libraries/joomla/registry/format/ini.php

Methods[edit]

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[edit]

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



Examples[edit]

Code Examples[edit]