class Format (View source)

Methods

mixed
__construct( mixed $child, array $config)

Builds the ConfigOptions object.

array
getValues()

Same as toArray, but without the class name as a key to being multi-dimension.

string
toJson()

Returns a JSON string representation of the object's properties.

Details

at line 44
mixed __construct( mixed $child, array $config)

Builds the ConfigOptions object.

Passing an array of key value pairs will set the configuration for each child object created from this parent object.

Parameters

mixed $child Child ConfigOption object.
array $config Array of options.

Return Value

mixed

Exceptions

InvalidConfigValue
InvalidConfigProperty

at line 79
array getValues()

Same as toArray, but without the class name as a key to being multi-dimension.

Return Value

array Array of the options of the object.

at line 97
string toJson()

Returns a JSON string representation of the object's properties.

Return Value

string