Common

# Class: ConfigParser Source Location: /common/Utils.php
### Class Overview
Tools for configuration files parsing | ### Methods parseObjectArray
### Class Details [line 379] Tools for configuration files parsing [ Top ] ### Class Methods ### method parseObjectArray [line 401]
`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:
return: | of stdClass objects
access: | public
static: |
#### Parameters:
Config | $config | configuration
string | $prefix | prefix
string | $suffixes | possible suffixes
[ Top ] Documentation generated on Fri, 21 Sep 2007 13:31:11 +0200 by phpDocumentor 1.3.0RC3