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 array $cache
Method Summary
 string getValueAsINI (mixed $value)
 string objectToString (object $object, [array $options = array()])
 object Data stringToObject (string $data, [array $options = array()])
Variables
static array $cache = array() (line 27)

Cache of processed data

  • since: 11.1
  • access: protected

Inherited Variables

Inherited from JRegistryFormat

JRegistryFormat::$instances
Methods
getValueAsINI (line 215)

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

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

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

  • return: object.
  • since: 11.1
  • access: public
object Data stringToObject (string $data, [array $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 Tue, 19 Nov 2013 15:05:33 +0100 by phpDocumentor 1.4.3