Support Joomla!

Joomla! 1.5 Documentation

Packages

Package: Joomla-Framework

Developer Network License

The Joomla! Developer Network content is © copyright 2006 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution- NonCommercial- ShareAlike 2.5

 Class JRegistryFormatINI

Description

INI format handler for JRegistry

Located in /joomla/registry/format/ini.php (line 26)

Class JObject   (Subpackage Base)

Abstract class JRegistryFormat
   
   Class JRegistryFormatINI   (Subpackage Registry)
Method Summary
Method string objectToString ( &$object,  $params, object $object, array $param)
Method object Data &stringToObject (mixed $data, [boolean $process_sections = false])
Methods
objectToString (line 39)

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,  $params, object $object, array $param)
  • object $object: Data Source Object
  • array $param: Parameters used by the formatter
  • &$object
  • $params

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

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 $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::JObject()
 JObject::__construct()
 JObject::get()
 JObject::getPublicProperties()
 JObject::set()
 JObject::toString()

Documentation generated on Mon, 05 Mar 2007 21:07:55 +0000 by phpDocumentor 1.3.1