$main
$main : \Orpheus\Config\Config
Contains the main configuration, reachable from everywhere.
The ini config class
This class uses ini files to get configuration.
$main : \Orpheus\Config\Config
Contains the main configuration, reachable from everywhere.
load( $source, $cached = true) : boolean
Load new configuration from source
$source | An identifier to get the source |
|
$cached | True if this configuration should be cached |
True if this configuration was loaded successfully
Load a configuration from a source identified by $source.
build( $source, $minor = false, $cached = true)
Build new configuration source
$source | An identifier to build the source. |
|
$minor | True if this is a minor configuration. |
|
$cached | True if this configuration should be cached. Build a configuration from $source using load() method. If it is not a minor configuration, that new configuration is added to the main configuration. |
parse( $source) : \Orpheus\Config\The
Parse configuration from given source.
$source | An identifier or a path to get the source. |
loaded configuration array.
If an identifier, loads a configuration from a .ini file in CONFDIR. Else $source is a full path to the ini configuration file.