43             $this->
lng->txt(
'language'),
    44             $this->type->getTypeIdent() . 
'_lng'    46         $languageSelection->setRequired(
true);
    49         foreach ($this->
lng->getInstalledLanguages() as 
$lng) {
    50             $options[
$lng] = $this->
lng->txt(
'meta_l_' . $lng);
    55         $languageSelection->setOptions([
'' => $this->
lng->txt(
'please_choose')] + $options);
    56         $languageSelection->
setValue((
string) ($config[
'lng'] ?? 
''));
    58         $option->addSubItem($languageSelection);
    66             $this->
lng->txt(
'language'),
    67             $this->type->getTypeIdent() . 
'_lng'    72         foreach ($this->
lng->getInstalledLanguages() as 
$lng) {
    73             $options[
$lng] = $this->
lng->txt(
'meta_l_' . $lng);
    78         $languageSelection->setOptions([
'' => $this->
lng->txt(
'please_choose')] + $options);
    79         $languageSelection->setValue((
string) ($config[
'lng'] ?? 
''));
    81         return $languageSelection;
    87             'lng' => (
string) $form->
getInput($this->type->getTypeIdent() . 
'_lng')
    95         return $this->
lng->txt(
'acc_crit_type_usr_language');
   100         $lng = $config[
'lng'] ?? 
'';
   102         if (!is_string($lng) || 2 !== strlen($lng)) {
   103             return $uiFactory->
legacy(
'');
   106         return $uiFactory->
legacy($this->
lng->txt(
'meta_l_' . $lng));
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
legacy(string $content)
 description: purpose: > This component is used to wrap an existing ILIAS UI element into a UI compon...
 
__construct(ilAccessibilityUserHasLanguageCriterion $type, ilLanguage $lng)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
getConfigByForm(ilPropertyFormGUI $form)
 
This is how the factory for UI elements looks. 
 
setValue(string $a_value)
 
appendOption(ilRadioGroupInputGUI $group, ilAccessibilityCriterionConfig $config)
 
getValuePresentation(ilAccessibilityCriterionConfig $config, Factory $uiFactory)
 
ilAccessibilityUserHasLanguageCriterion $type
 
Class ilAccessibilityUserHasLanguageCriterionGUI. 
 
getSelection(ilAccessibilityCriterionConfig $config)
 
Interface ilAccessibilityCriterionTypeGUI.