ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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
 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.

References $config, $form, $lng, ILIAS\UI\Factory\legacy(), and ilTermsOfServiceCriterionType\ui().

32  : bool
33  {
34  return false;
35  }
+ Here is the call graph for this function:

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