ILIAS  release_7 Revision v7.30-3-g800a261c036
ilTermsOfServiceNullCriterion Class Reference

Class ilTermsOfServiceNullCriterion. More...

+ Inheritance diagram for ilTermsOfServiceNullCriterion:
+ Collaboration diagram for ilTermsOfServiceNullCriterion:

Public Member Functions

 getTypeIdent ()
 Returns a unique id of the criterion type.
Returns
string
More...
 
 evaluate (ilObjUser $user, ilTermsOfServiceCriterionConfig $config)
 
Parameters
ilObjUser$user
ilTermsOfServiceCriterionConfig$config
Returns
bool
More...
 
 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 .

Returns
bool
More...
 
- Public Member Functions inherited from ilTermsOfServiceCriterionType
 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)
 

Detailed Description

Member Function Documentation

◆ evaluate()

ilTermsOfServiceNullCriterion::evaluate ( ilObjUser  $user,
ilTermsOfServiceCriterionConfig  $config 
)

Parameters
ilObjUser$user
ilTermsOfServiceCriterionConfig$config
Returns
bool

Implements ilTermsOfServiceCriterionType.

Definition at line 24 of file class.ilTermsOfServiceNullCriterion.php.

24 : bool
25 {
26 return true;
27 }

◆ getTypeIdent()

ilTermsOfServiceNullCriterion::getTypeIdent ( )

Returns a unique id of the criterion type.

Returns
string

Implements ilTermsOfServiceCriterionType.

Definition at line 16 of file class.ilTermsOfServiceNullCriterion.php.

16 : string
17 {
18 return 'null';
19 }

◆ hasUniqueNature()

ilTermsOfServiceNullCriterion::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 .

Returns
bool

Implements ilTermsOfServiceCriterionType.

Definition at line 32 of file class.ilTermsOfServiceNullCriterion.php.

32 : bool
33 {
34 return false;
35 }

The documentation for this class was generated from the following file: