ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilTermsOfServiceCriterionType Interface Reference

Interface ilTermsOfServiceCriterionType. More...

+ Inheritance diagram for ilTermsOfServiceCriterionType:
+ Collaboration diagram for ilTermsOfServiceCriterionType:

Public Member Functions

 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()

ilTermsOfServiceCriterionType::evaluate ( \ilObjUser  $user,
\ilTermsOfServiceCriterionConfig  $config 
)
Parameters
\ilObjUser$user
\ilTermsOfServiceCriterionConfig$config
Returns
bool

Implemented in ilTermsOfServiceUserHasGlobalRoleCriterion, ilTermsOfServiceUserHasLanguageCriterion, and ilTermsOfServiceNullCriterion.

◆ getTypeIdent()

ilTermsOfServiceCriterionType::getTypeIdent ( )

◆ hasUniqueNature()

ilTermsOfServiceCriterionType::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

Implemented in ilTermsOfServiceUserHasGlobalRoleCriterion, ilTermsOfServiceNullCriterion, and ilTermsOfServiceUserHasLanguageCriterion.

◆ ui()


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