Class Php
PHP class format handler for Registry
-
Joomla\Registry\AbstractRegistryFormat
implements
Joomla\Registry\FormatInterface
-
Joomla\Registry\Format\Php
Methods summary
public
string
|
#
objectToString( object $object, array $params = array() )
Converts an object into a php class string.
- NOTE: Only one depth level is supported.
Converts an object into a php class string.
- NOTE: Only one depth level is supported.
Parameters
- $object
object - $object Data Source Object
- $params
array - $params Parameters used by the formatter
Returns
string - Config class formatted string
Since
1.0
|
public
object
|
#
stringToObject( string $data, array $options = array() )
Parse a PHP class formatted string and convert it into an object.
Parse a PHP class formatted string and convert it into an object.
Parameters
- $data
string - $data PHP Class formatted string to convert.
- $options
array - $options Options used by the formatter.
Returns
object - Data object.
Since
1.0
|
protected
array
|
#
getArrayString( array $a )
Method to get an array as an exported string.
Method to get an array as an exported string.
Parameters
- $a
array - $a The array to get as a string.
Returns
array
Since
1.0
|
getInstance()
Magic methods summary
Properties summary
$instances