SGL_ConfigConfig file parsing and handling, acts as a registry for config data.
Located in /SGL/Config.php (line 49)
static createCachedFile (line 324)
static ensureDirExists (line 294)
static getCachedFileName (line 275)
static locateCachedFile (line 255)
Constructor SGL_Config (line 54)
ensureModuleConfigLoaded (line 414)
Ensures the module's config file was loaded and returns an array containing the global and modulde config.
This is required when the homepage is set to custom mod/mgr/params, and the module config file loaded while initialising the request is not the file required for the custom invocation.
exists (line 82)
Returns true if config key exists.
get (line 102)
Returns a config key
getAll (line 205)
Return an array of all Config properties.
getCommandTarget (line 453)
Given a string of the format moduleName^managerName^action, returns a hash of the values.
getFileName (line 210)
getModulesDir (line 303)
isEmpty (line 398)
Returns true if the current config object contains no data keys.
load (line 222)
Reads in data from supplied $file.
merge (line 388)
remove (line 184)
Remove a config key, save() must be used to persist changes.
To remove the key $conf['site']['blocksEnabled'] = true, you would use $c->remove(array('site', 'blocksEnabled')
replace (line 195)
save (line 343)
set (line 148)
Sets a config property.
Using new shorthand method you can do $ok = SGL_Config::set('river.boat', 'green');
singleton (line 66)
Documentation generated on Tue, 23 Feb 2010 18:14:28 +0000 by phpDocumentor 1.4.3