|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Interface ilTermsOfServiceCriterionType. More...
Inheritance diagram for ilTermsOfServiceCriterionType:
Collaboration diagram for ilTermsOfServiceCriterionType:Public Member Functions | |
| getTypeIdent () | |
| Returns a unique id of the criterion type. More... | |
| hasUniqueNature () | |
| Returns whether or not a criterion is unique by it's nature. More... | |
| evaluate (\ilObjUser $user, \ilTermsOfServiceCriterionConfig $config) | |
| ui (\ilLanguage $lng) | |
Interface ilTermsOfServiceCriterionType.
Definition at line 8 of file interface.ilTermsOfServiceCriterionType.php.
| ilTermsOfServiceCriterionType::evaluate | ( | \ilObjUser | $user, |
| \ilTermsOfServiceCriterionConfig | $config | ||
| ) |
| \ilObjUser | $user | |
| \ilTermsOfServiceCriterionConfig | $config |
Implemented in ilTermsOfServiceNullCriterion, ilTermsOfServiceUserHasGlobalRoleCriterion, and ilTermsOfServiceUserHasLanguageCriterion.
| ilTermsOfServiceCriterionType::getTypeIdent | ( | ) |
Returns a unique id of the criterion type.
Implemented in ilTermsOfServiceNullCriterion, ilTermsOfServiceUserHasGlobalRoleCriterion, and ilTermsOfServiceUserHasLanguageCriterion.
Referenced by ilTermsOfServiceEvaluationBaseTest\getCriterionAssignmentMock(), and ilTermsOfServiceCriterionTypeFactoryTest\testKeysOfCriteriaCollectionMatchTheRespectiveTypeIdent().
Here is the caller graph for this function:| ilTermsOfServiceCriterionType::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 .
Implemented in ilTermsOfServiceNullCriterion, ilTermsOfServiceUserHasGlobalRoleCriterion, and ilTermsOfServiceUserHasLanguageCriterion.
| ilTermsOfServiceCriterionType::ui | ( | \ilLanguage | $lng | ) |
| \ilLanguage | $lng |
Implemented in ilTermsOfServiceUserHasGlobalRoleCriterion, and ilTermsOfServiceUserHasLanguageCriterion.
Referenced by ilTermsOfServiceNullCriterionTest\testCriterionAlwaysCreateEmptyConfigValue(), ilTermsOfServiceNullCriterionTest\testNoFormUserInterfaceElementsAreBuilt(), and ilTermsOfServiceNullCriterionTest\testTypeIdentPresentatioEqualsANonEmptyString().
Here is the caller graph for this function: