API16

JRegistryFormatINI: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
Line 1: Line 1:
{{subst:Description:JRegistryFormatINI}}
===Defined in===
===Defined in===
libraries/joomla/registry/format/ini.php
libraries/joomla/registry/format/ini.php
Line 22: Line 20:




{{subst:SeeAlso:JRegistryFormatINI}}
 


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=JRegistryFormatINI
  category=JRegistryFormatINI
  category=CodeExample
  namespace=CodeExample
  category=ClassExample
  category=ClassExample
  include=*
  include=*
  format= ,,,
  format= ,,,
</dpl>
</dpl>

Latest revision as of 02:00, 25 March 2017

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' );



Examples

Code Examples