class Config
Config Class - Configuration Object Factory.
class Config
{
const Simple = 0;
const File_Array = 1;
/*** Use individual cache keys for each object* if true, each cache object is cached separately, otherwise, all objects are cached under the common key* @param boolean $flag*/static public function useIndividualKeys($flag)
/*** Set cache adapter* @param Cache_Interface $core*/public static function setCacheCore($core)
/*** Get cache adapter* @return Cache_Interface | false*/public static function getCacheCore()
/*** Factory method* @param integer $type — type of the object being created, Config class constant* @param string $name - identifier* @param boolean $useCache - optional , default true. Use cache if available* @return Config_Abstract*/static public function factory($type , $name , $useCache = true)
/*** Clear cache*/static public function resetCache()
/*** Cache data again*/static public function cache()
}
comments powered by Disqus