Support Joomla!

Packages

Package: Joomla-Framework

License

Content on this site is copyright © 2005 - 2008 Open Source Matters Inc and can be used in accordance with the Joomla! Electronic Documentation License. Some parts of this website may be subject to other licenses.

 Class JRegistryFormatINI

Description

INI format handler for JRegistry

  • since: 1.5

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

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])
Variables

Inherited Variables

Inherited from JObject

Variable JObject::$_errors
Methods
objectToString (line 38)

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 96)

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::getError()
 JObject::getErrors()
 JObject::getProperties()
 JObject::getPublicProperties()
 JObject::set()
 JObject::setError()
 JObject::setProperties()
 JObject::toString()

Documentation generated on Mon, 22 Sep 2008 12:10:23 +0100 by phpDocumentor 1.3.1