|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Class ilTermsOfServiceUserHasGlobalRoleCriterion. More...
Inheritance diagram for ilTermsOfServiceUserHasGlobalRoleCriterion:
Collaboration diagram for ilTermsOfServiceUserHasGlobalRoleCriterion:Public Member Functions | |||||||
| __construct (ilRbacReview $rbacReview, ilObjectDataCache $objectCache) | |||||||
| ilTermsOfServiceUserHasGlobalRoleCriterion constructor. More... | |||||||
| getTypeIdent () | |||||||
Returns a unique id of the criterion type.
| |||||||
| 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 .
| |||||||
| evaluate (ilObjUser $user, ilTermsOfServiceCriterionConfig $config) | |||||||
| |||||||
| ui (ilLanguage $lng) | |||||||
| |||||||
| 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) | |||||||
Protected Attributes | |
| $rbacReview | |
| $objectCache | |
Class ilTermsOfServiceUserHasGlobalRoleCriterion.
Definition at line 8 of file class.ilTermsOfServiceUserHasGlobalRoleCriterion.php.
| ilTermsOfServiceUserHasGlobalRoleCriterion::__construct | ( | ilRbacReview | $rbacReview, |
| ilObjectDataCache | $objectCache | ||
| ) |
ilTermsOfServiceUserHasGlobalRoleCriterion constructor.
| ilRbacReview | $rbacReview | |
| ilObjectDataCache | $objectCache |
Definition at line 21 of file class.ilTermsOfServiceUserHasGlobalRoleCriterion.php.
References $objectCache, and $rbacReview.
| ilTermsOfServiceUserHasGlobalRoleCriterion::evaluate | ( | ilObjUser | $user, |
| ilTermsOfServiceCriterionConfig | $config | ||
| ) |
| ilObjUser | $user | |
| ilTermsOfServiceCriterionConfig | $config |
Implements ilTermsOfServiceCriterionType.
Definition at line 46 of file class.ilTermsOfServiceUserHasGlobalRoleCriterion.php.
References $config, $result, and ilObject\getId().
Referenced by ilTermsOfServiceUserHasGlobalRoleCriterionTest\testEvaluationFailsIfConfiguredRoleIsNotAGlobalRole(), ilTermsOfServiceUserHasGlobalRoleCriterionTest\testEvaluationFailsIfUserIsNotAssignedToConfiguredGlobalRole(), and ilTermsOfServiceUserHasGlobalRoleCriterionTest\testEvaluationSucceedsIfUserIsAssignedToDefinedGlobalRole().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTermsOfServiceUserHasGlobalRoleCriterion::getTypeIdent | ( | ) |
Returns a unique id of the criterion type.
Implements ilTermsOfServiceCriterionType.
Definition at line 30 of file class.ilTermsOfServiceUserHasGlobalRoleCriterion.php.
| ilTermsOfServiceUserHasGlobalRoleCriterion::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 38 of file class.ilTermsOfServiceUserHasGlobalRoleCriterion.php.
| ilTermsOfServiceUserHasGlobalRoleCriterion::ui | ( | ilLanguage | $lng | ) |
| ilLanguage | $lng |
Implements ilTermsOfServiceCriterionType.
Definition at line 66 of file class.ilTermsOfServiceUserHasGlobalRoleCriterion.php.
References $lng.
|
protected |
Definition at line 14 of file class.ilTermsOfServiceUserHasGlobalRoleCriterion.php.
Referenced by __construct().
|
protected |
Definition at line 11 of file class.ilTermsOfServiceUserHasGlobalRoleCriterion.php.
Referenced by __construct().