array parseObjectArray(
Config
$config, string
$prefix, string
$suffixes)
|
|
Converts a list of values taken from a configuration file to an array of objects
File structure example:
scales.0.label = 1/2
scales.0.value = 2
scales.0.visible = false
scales.1.label = 1/5
scales.1.value = 5
Parameter $suffixes contains an array of possible suffixes (array('label','value','visible') in the example).
Tags:
Parameters: