Esempio n. 1
0
 public static function getLangISO()
 {
     if (self::$LAST_USER !== false) {
         return self::$LAST_USER->getLangISO();
     } elseif (self::$LAST_CHANNEL !== false) {
         return self::$LAST_CHANNEL->getLangISO();
     } elseif (self::$LAST_SERVER !== false) {
         return self::$LAST_SERVER->getLangISO();
     } else {
         return 'en';
     }
 }