|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
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.
| |||||||
| 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 | |
| $countryCodes = [] | |
Class ilTermsOfServiceUserHasCountryCriterion.
Definition at line 8 of file class.ilTermsOfServiceUserHasCountryCriterion.php.
| ilTermsOfServiceUserHasCountryCriterion::__construct | ( | array | $countryCodes | ) |
ilTermsOfServiceUserHasCountryCriterion constructor.
| string[] | $countryCodes |
Definition at line 17 of file class.ilTermsOfServiceUserHasCountryCriterion.php.
References $countryCodes.
| ilTermsOfServiceUserHasCountryCriterion::evaluate | ( | ilObjUser | $user, |
| ilTermsOfServiceCriterionConfig | $config | ||
| ) |
| ilObjUser | $user | |
| ilTermsOfServiceCriterionConfig | $config |
Implements ilTermsOfServiceCriterionType.
Definition at line 41 of file class.ilTermsOfServiceUserHasCountryCriterion.php.
References $config, $result, 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 25 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 33 of file class.ilTermsOfServiceUserHasCountryCriterion.php.
| ilTermsOfServiceUserHasCountryCriterion::ui | ( | ilLanguage | $lng | ) |
| ilLanguage | $lng |
Implements ilTermsOfServiceCriterionType.
Definition at line 57 of file class.ilTermsOfServiceUserHasCountryCriterion.php.
References $lng.
|
protected |
Definition at line 11 of file class.ilTermsOfServiceUserHasCountryCriterion.php.
Referenced by __construct().