public static function core_type_keys() { if (!self::$core_type_keys) { self::$core_type_keys = MPU::file_list( MPU::core_type_dir() ); } return self::$core_type_keys; }
public static function type_file_path($type, $file) { if (MPU::core_type_exists($type)) { $base = MPU::core_type_dir($type); return $base.$file; } else { if (MPU::extension_type_exists($type)) { $base = MPU::extension_type_dir($type); return $base.$file; } } }