LoadCfg
Function: loadCfg
Visibility: public static
Parameter: loadCfg($fileName,$allowGlobal,$type)
Description:
Loads config files. Loading configs will be made from under config folder according to itinerary settings.
Parameters:
(required) - string - $fileName - The config file name.
(optional) - string - $allowGlobal - Allow config to be on global basic::$cfg.
(optional) - string - $type - The type of config to load - Can be file/xml/db (currently only file is working).
Return:
array - The config properties.
Callable from (extended classes):
application: controller,view
advanced: controller,view
operators: controller,view
api: controller,view