Manage configuration stored in JSON files in core, plugins and application directories. More...
Public Member Functions | |
clearCache () | |
Clear cache. More... | |
load ($name, $force_cache_reload=false) | |
Load and compose configuration from config files. More... | |
Static Public Member Functions | |
static | readJson ($filename) |
Read JSON file. More... | |
Protected Member Functions | |
fetchFromCache ($key, &$hit) | |
Retrieve configuration from cache. | |
addToCache ($key, $value) | |
Add configuration to cache. | |
Manage configuration stored in JSON files in core, plugins and application directories.
All files of the same name in these locations are merged together.
This class does not use caching, but other classes can extend this one and add any cache implementation.
clearCache | ( | ) |
load | ( | $name, | |
$force_cache_reload = false |
|||
) |
|
static |