JRegistryFormatINI
Extends \JRegistryFormatINI 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 |
|
Arguments
- $type
string
The format to load
Response
\JRegistryFormat
Registry format handler
getValueAsINI
Method to get a value in an INI format.
getValueAsINI(mixed $value) : string
since |
11.1 |
---|
Arguments
- $value
mixed
The value to convert to INI format.
Response
string
The 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
object
Data Source Object.- $options
array
An array of options for the formatter.
Response
string
Formatted string.
stringToObject
Converts a formatted string into an object.
stringToObject(string $data, array $options = null) : object
inherited abstract
since |
11.1 |
---|
Arguments
- $data
string
Formatted string- $options
array
An array of options for the formatter.
Response
object
Data Object
Properties
cache
static
Type(s)
instances
JRegistryFormat instances container.
inherited static
since |
11.3 |
---|
Type(s)
array