Class Config is a read only data container based on a config file.
Pass the name (and path) of a config file to the constructor to have all defined variables from the given file in a readonly Config container. The container is private and not modifyable, original config values are never in the global scope.
Use merge() and insert() to operate on multiple config files within one single Config object. The merge() and insert() methods support a parameter "context" which can be an array of variable names to be imported to the scope of the merged or inserted config file. All variables defined in the context array must already be present in the config object. Otherwise they will be ignored.
Located in /config.php (line 25)
PHOOL | --Config
Contains all config values
Inherited from PHOOL
PHOOL::$debug
PHOOL::$errorlabels
PHOOL::$errorlevels
PHOOL::$errors
PHOOL::$exists
PHOOL::$logdir
PHOOL::$loglevel
PHOOL::$objname
Get a specified value from config.
Get a module config
Test if a key is available
Insert another file into the value container
Merge another file into the value container
Return values from a config file.
Used by construct and merge
Constructor for Config objects
Inherited From PHOOL
PHOOL::PHOOL()
PHOOL::debug()
PHOOL::error()
PHOOL::get_errors()
PHOOL::handle_error()
PHOOL::has_error()
PHOOL::log_error()
PHOOL::set_debug()
PHOOL::set_logdir()
PHOOL::set_loglevel()
Documentation generated on Tue, 12 May 2009 23:09:36 +0200 by phpDocumentor 1.4.1