Class JRegistryFormatINI

Description

INI format handler for JRegistry.

  • since: 11.1

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

JRegistryFormat
   |
   --JRegistryFormatINI
Variable Summary
static mixed $cache
Method Summary
string getValueAsINI (mixed $value)
string objectToString (object $object, [array $options = array()])
object Data stringToObject (string $data, [mixed $options = array()])
Variables
static mixed $cache = array() (line 21)
  • access: protected

Inherited Variables

Inherited from JRegistryFormat

JRegistryFormat::$instances
Methods
getValueAsINI (line 219)

Method to get a value in an INI format.

  • return: The value in INI format.
  • since: 11.1
  • access: protected
string getValueAsINI (mixed $value)
  • mixed $value: The value to convert to INI format.
objectToString (line 36)

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.
  • since: 11.1
  • access: public
string objectToString (object $object, [array $options = array()])
  • object $object: Data source object.
  • array $options: Options used by the formatter.

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

Parse an INI formatted string and convert it into an object.

  • return: object.
  • since: 11.1
  • access: public
object Data stringToObject (string $data, [mixed $options = array()])
  • string $data: INI formatted string to convert.
  • mixed $options: An array of options used by the formatter, or a boolean setting to process sections.

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

Inherited Methods

Inherited From JRegistryFormat

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

Documentation generated on Mon, 25 Jun 2012 13:55:49 -0500 by phpDocumentor 1.4.4