Php
Implements FormatInterfacePHP class format handler for Registry
since |
1.0.0 |
---|---|
package |
Joomla Framework |
Methods
formatValue
Format a value for the string conversion
formatValue(mixed value) : mixed
since |
2.0.0 |
---|
Arguments
- value
mixed
The value to format
Response
mixed
The formatted value
getArrayString
Method to get an array as an exported string.
getArrayString(array a) : string
since |
1.0.0 |
---|
Arguments
- a
array
The array to get as a string.
Response
string
objectToString
Converts an object into a php class string.
objectToString(object object, array params = []) : string
- NOTE: Only one depth level is supported.
since |
1.0.0 2.0.0 |
---|
Arguments
- object
object
Data Source Object- params
array
Parameters used by the formatter
Response
string
Config class formatted string
stringToObject
Parse a PHP class formatted string and convert it into an object.
stringToObject(string data, array options = []) : object
since |
1.0.0 |
---|
Arguments
- data
string
PHP Class formatted string to convert.- options
array
Options used by the formatter.
Response
object
Data object.