Class JRegistryFormatINI

Description

INI format handler for JRegistry

Located in /registry/format/ini.php (line 22)

JObject
   |
   --JRegistryFormat
      |
      --JRegistryFormatINI
Method Summary
 string objectToString (object &$object)
 object Data stringToObject (mixed $data, [boolean $process_sections = false], [mixed $asArray = false])
Methods
objectToString (line 34)

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.

  • return: INI Formatted String
  • access: public
string objectToString (object &$object)
  • object $object: Data Source Object

Redefinition of:
JRegistryFormat::objectToString()
Converts an object into an formatted string
stringToObject (line 67)

Parse an .ini string, based on phpDocumentor phpDocumentor_parse_ini_file function

  • return: Object
  • access: public
object Data stringToObject (mixed $data, [boolean $process_sections = false], [mixed $asArray = false])
  • mixed $data: The INI string or array of lines
  • boolean $process_sections: add an associative index for each section [in brackets]

Redefinition of:
JRegistryFormat::stringToObject()
Converts an XML formatted string into an object

Inherited Methods

Inherited From JRegistryFormat

 JRegistryFormat::getInstance()
 JRegistryFormat::objectToString()
 JRegistryFormat::stringToObject()

Inherited From JObject

 JObject::__construct()
 JObject::JObject()
 JObject::get()
 JObject::set()
 JObject::toString()
 JObject::__destruct()

Documentation generated on Sat, 4 Feb 2006 14:23:58 +0100 by phpDocumentor 1.3.0RC4