Reads and consolidates .yml files from the config dirs for the current environment.
More...
|
| | _getSetting ($sSection, $sKey, $mDefaultValue) |
| |
|
& | getSettingsArray ($sSection=null) |
| |
|
| _getSettingIf ($mCondition, $sSection, $sKey, $mDefaultValue) |
| |
|
|
static | getSetting ($sSection, $sKey, $mDefaultValue, $sPath=null) |
| |
|
static | getSettingIf ($mCondition, $sSection, $sKey, $mDefaultValue, $sPath=null) |
| |
|
static | createCacheKey ($sFileName) |
| |
|
static | getInstance ($sFile=null) |
| |
| static | addOverride ($sSection, $sKey, $mValue, $sPath=null) |
| |
| static | clearOverrides () |
| |
Reads and consolidates .yml files from the config dirs for the current environment.
| Settings::_getSetting |
( |
|
$sSection, |
|
|
|
$sKey, |
|
|
|
$mDefaultValue |
|
) |
| |
- Parameters
-
| string | $sSection | config.yml section name |
| string | $sKey | section var key |
| mixed | $mDefaultValue | default value |
- Returns
- string|int|float|array The setting value
| static Settings::addOverride |
( |
|
$sSection, |
|
|
|
$sKey, |
|
|
|
$mValue, |
|
|
|
$sPath = null |
|
) |
| |
|
static |
| static Settings::clearOverrides |
( |
| ) |
|
|
static |
Removes test case overrides
The documentation for this class was generated from the following file:
- cms-full/base/lib/classes/Settings.php