Exemple #1
0
 protected static function getCurrentLanguage($code)
 {
     if ($code != LANGUAGE_CODE) {
         // User defined Language Code; nothing to do.
     } else {
         if (Session::exists('language')) {
             return Session::get('language');
         }
     }
     return ucfirst($code);
 }