19 declare(strict_types=1);
39 $lng = $DIC->language();
42 if (is_object(
$lng)) {
43 $a_lang_key =
$lng->getDefaultLanguage();
49 return self::$languages[$a_lang_key] ?? (self::$languages[$a_lang_key] =
new ilLanguage($a_lang_key));
static _lookupLanguage(int $a_usr_id)
static _getLanguageOfUser(int $a_usr_id)
Get language object of user.
static _getLanguage(string $a_lang_key='')
Get language object.