/** * Return config code list with name and class of the configuration */ function get_config_code_class_list($type = 'all') { $configCodeClassList = array(); $configCodeList = get_config_code_list($type); foreach ($configCodeList as $config_code) { $config = new Config($config_code); if ($config->load()) { $configCodeClassList[$config_code]['name'] = $config->get_conf_name(); $configCodeClassList[$config_code]['class'] = $config->get_conf_class(); } } return $configCodeClassList; }