class JRegistryFormatINI extends JRegistryFormat


Located at : UKNOWVA_ROOT/libraries/joomla/registry/format/ini.php

INI format handler for JRegistry.

Methods

static object
getInstance(string $type)

Returns a reference to a Format object, only creating it if it doesn't already exist.

string
objectToString(object $object, array $options = array())

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.

object
stringToObject(string $data, array $options = array())

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

Details

in JRegistryFormat at line 32
static object getInstance(string $type)

Returns a reference to a Format object, only creating it if it doesn't already exist.

Parameters

string $type The format to load

Return Value

object Registry format handler

Exceptions

JException

at line 36
string objectToString(object $object, array $options = array())

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.

Parameters

object $object Data Source Object.
array $options An array of options for the formatter.

Return Value

string Formatted string.

at line 75
object stringToObject(string $data, array $options = array())

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

Parameters

string $data Formatted string
array $options An array of options for the formatter.

Return Value

object Data Object