|
ILIAS
release_8 Revision v8.24
|
Class ilTermsOfServiceUserHasCountryCriterion. More...
Inheritance diagram for ilTermsOfServiceUserHasCountryCriterion:
Collaboration diagram for ilTermsOfServiceUserHasCountryCriterion:Public Member Functions | |
| __construct (array $countryCodes) | |
| ilTermsOfServiceUserHasCountryCriterion constructor. More... | |
| 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) | |
| 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 | |
| array | $countryCodes = [] |
Class ilTermsOfServiceUserHasCountryCriterion.
Definition at line 25 of file class.ilTermsOfServiceUserHasCountryCriterion.php.
| ilTermsOfServiceUserHasCountryCriterion::__construct | ( | array | $countryCodes | ) |
ilTermsOfServiceUserHasCountryCriterion constructor.
| string[] | $countryCodes |
Definition at line 34 of file class.ilTermsOfServiceUserHasCountryCriterion.php.
References $countryCodes.
| ilTermsOfServiceUserHasCountryCriterion::evaluate | ( | ilObjUser | $user, |
| ilTermsOfServiceCriterionConfig | $config | ||
| ) |
| ilObjUser | $user | |
| ilTermsOfServiceCriterionConfig | $config |
Implements ilTermsOfServiceCriterionType.
Definition at line 49 of file class.ilTermsOfServiceUserHasCountryCriterion.php.
References $config, and ilObjUser\getSelectedCountry().
Here is the call graph for this function:| ilTermsOfServiceUserHasCountryCriterion::getTypeIdent | ( | ) |
Returns a unique id of the criterion type.
Implements ilTermsOfServiceCriterionType.
Definition at line 39 of file class.ilTermsOfServiceUserHasCountryCriterion.php.
| ilTermsOfServiceUserHasCountryCriterion::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 44 of file class.ilTermsOfServiceUserHasCountryCriterion.php.
| ilTermsOfServiceUserHasCountryCriterion::ui | ( | ilLanguage | $lng | ) |
| ilLanguage | $lng |
Implements ilTermsOfServiceCriterionType.
Definition at line 60 of file class.ilTermsOfServiceUserHasCountryCriterion.php.
References $lng.
|
protected |
Definition at line 28 of file class.ilTermsOfServiceUserHasCountryCriterion.php.
Referenced by __construct().