14 return 'usr_language';
30 $lng = $config[
'lng'] ??
'';
32 if (!is_string(
$lng) || 2 !== strlen(
$lng)) {
hasUniqueNature()
Returns whether or not a criterion is unique by it's nature.Example: "User Language". A user account can only have one profile language . bool
ui(ilLanguage $lng)
ilAccessibilityCriterionTypeGUI
getTypeIdent()
Returns a unique id of the criterion type.string
Class ilAccessibilityUserHasLanguageCriterion.
Class ilAccessibilityCriterionConfig.
Class ilAccessibilityUserHasLanguageCriterionGUI.
Interface ilAccessibilityCriterionType.
evaluate(ilObjUser $user, ilAccessibilityCriterionConfig $config)
bool
Interface ilAccessibilityCriterionTypeGUI.
getLanguage()
returns a 2char-language-string public