ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
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 
)

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