JRegistryFormatJSON

Extends \JRegistryFormat

JSON 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

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

instances

JRegistryFormat instances container.

inherited static
since

11.3

Type(s)

array