|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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 $user.
Referenced by ilTermsOfServiceUserHasGlobalRoleCriterionTest\testEvaluationFailsIfConfiguredRoleDoesNotMatchTheExpectedFormat().
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.
Referenced by ilTermsOfServiceUserHasGlobalRoleCriterionTest\testFormUserInterfaceElementsAreProperlyBuilt(), and ilTermsOfServiceUserHasGlobalRoleCriterionTest\testValuesFromFormUserInterfaceElementsCanBeRetrieved().
Here is the caller graph for this function:| 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.
Referenced by ilTermsOfServiceUserHasGlobalRoleCriterionTest\testFormUserInterfaceElementsAreProperlyBuilt(), ilTermsOfServiceUserHasGlobalRoleCriterionTest\testTypeIdentPresentationIsANonEmptyString(), and ilTermsOfServiceUserHasGlobalRoleCriterionTest\testValuesFromFormUserInterfaceElementsCanBeRetrieved().
Here is the caller graph for this function:
|
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().