ILIAS
release_8 Revision v8.19
|
Class ilTermsOfServiceNullCriterion. More...
Public Member Functions | |
getTypeIdent () | |
Returns a unique id of the criterion type. More... | |
evaluate (ilObjUser $user, ilTermsOfServiceCriterionConfig $config) | |
hasUniqueNature () | |
Returns whether or not a criterion is unique by it's nature. More... | |
ui (ilLanguage $lng) | |
Class ilTermsOfServiceNullCriterion.
Definition at line 28 of file class.ilTermsOfServiceNullCriterion.php.
ilTermsOfServiceNullCriterion::evaluate | ( | ilObjUser | $user, |
ilTermsOfServiceCriterionConfig | $config | ||
) |
ilObjUser | $user | |
ilTermsOfServiceCriterionConfig | $config |
Implements ilTermsOfServiceCriterionType.
Definition at line 35 of file class.ilTermsOfServiceNullCriterion.php.
ilTermsOfServiceNullCriterion::getTypeIdent | ( | ) |
Returns a unique id of the criterion type.
Implements ilTermsOfServiceCriterionType.
Definition at line 30 of file class.ilTermsOfServiceNullCriterion.php.
ilTermsOfServiceNullCriterion::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 .
Implements ilTermsOfServiceCriterionType.
Definition at line 40 of file class.ilTermsOfServiceNullCriterion.php.
ilTermsOfServiceNullCriterion::ui | ( | ilLanguage | $lng | ) |
ilLanguage | $lng |
Implements ilTermsOfServiceCriterionType.
Definition at line 45 of file class.ilTermsOfServiceNullCriterion.php.
References $config, $lng, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\UI\Factory\legacy(), and ILIAS\Repository\lng().
Referenced by ilTermsOfServiceNullCriterionTest\testCriterionAlwaysCreateEmptyConfigValue(), ilTermsOfServiceNullCriterionTest\testNoFormUserInterfaceElementsAreBuilt(), and ilTermsOfServiceNullCriterionTest\testTypeIdentPresentationEqualsANonEmptyString().