|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
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, ilTermsOfServiceUserHasCountryCriterion, ilTermsOfServiceUserHasGlobalRoleCriterion, and ilTermsOfServiceUserHasLanguageCriterion.
| ilTermsOfServiceCriterionType::getTypeIdent | ( | ) |
Returns a unique id of the criterion type.
Implemented in ilTermsOfServiceNullCriterion, ilTermsOfServiceUserHasCountryCriterion, ilTermsOfServiceUserHasGlobalRoleCriterion, and ilTermsOfServiceUserHasLanguageCriterion.
Referenced by 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, ilTermsOfServiceUserHasCountryCriterion, ilTermsOfServiceUserHasGlobalRoleCriterion, and ilTermsOfServiceUserHasLanguageCriterion.
| ilTermsOfServiceCriterionType::ui | ( | ilLanguage | $lng | ) |
| ilLanguage | $lng |
Implemented in ilTermsOfServiceUserHasCountryCriterion, ilTermsOfServiceUserHasGlobalRoleCriterion, and ilTermsOfServiceUserHasLanguageCriterion.
Referenced by ilTermsOfServiceNullCriterionTest\testCriterionAlwaysCreateEmptyConfigValue(), and ilTermsOfServiceNullCriterionTest\testTypeIdentPresentationEqualsANonEmptyString().
Here is the caller graph for this function: