JRegistryFormatINI

Extends \JRegistryFormat

INI format handler for JRegistry.

package

Joomla.Platform

subpackage

Registry

since

11.1

Methods

getInstance

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

getInstance(string $type) : \JRegistryFormat
inherited static
since

11.1

throws

\JException

Arguments

$type

stringThe format to load

Response

\JRegistryFormatRegistry format handler

getValueAsINI

Method to get a value in an INI format.

getValueAsINI(mixed $value) : string
since

11.1

Arguments

$value

mixedThe value to convert to INI format.

Response

stringThe value in INI format.

objectToString

Converts an object into a formatted string.

objectToString(object $object, array $options = null) : string
inherited abstract
since

11.1

Arguments

$object

objectData Source Object.

$options

arrayAn array of options for the formatter.

Response

stringFormatted string.

stringToObject

Converts a formatted string into an object.

stringToObject(string $data, array $options = null) : object
inherited abstract
since

11.1

Arguments

$data

stringFormatted string

$options

arrayAn array of options for the formatter.

Response

objectData Object

Properties

cache

static

Type(s)

instances

JRegistryFormat instances container.

inherited static
since

11.3

Type(s)

array