/** * @name _init * @todo load lang file if language not loaded before than * @return bool */ private static function _init() { // check loaded or not if (count(self::$_lang) == 0) { // load require '../langs/' . LANG . '_CM.php'; self::$_lang = $_LANG; self::$_lang_search = array_map('strtolower', $_LANG); } else { return false; } }