All Data Structures Functions Variables Pages
Public Member Functions | Static Public Member Functions | Data Fields
TaskGamificationRules Class Reference
Inheritance diagram for TaskGamificationRules:
GamificationRules

Public Member Functions

 attachScoringEventsByModelClassName ($modelClassName)
 
 scoreCompletedOnTime (CEvent $event)
 
- Public Member Functions inherited from GamificationRules
 attachScoringEventsByModelClassName ($modelClassName)
 
 scoreOnSaveModel (CEvent $event)
 

Static Public Member Functions

static getPointTypesAndValuesForCreateModel ()
 
static getPointTypesAndValuesForUpdateModel ()
 
static getPointTypesAndValuesForTimeSensitiveAction ()
 
- Static Public Member Functions inherited from GamificationRules
static getPointTypeAndValueDataByCategory ($category)
 
static getPointTypesAndValuesForCreateModel ()
 
static getPointTypesAndValuesForUpdateModel ()
 
static getPointTypesAndValuesForLoginUser ()
 
static getPointTypesAndValuesForSearch ()
 
static getPointTypesAndValuesForMassEdit ()
 
static getPointTypesAndValuesForImport ()
 
static getPointTypesAndValuesForTimeSensitiveAction ()
 
static scoreOnSearchModels ($modelClassName)
 
static scoreOnMassEditModels ($modelClassName)
 
static scoreOnMassDeleteModels ($modelClassName)
 
static scoreOnImportModels ($modelClassName)
 

Data Fields

const SCORE_TYPE_COMPLETED_TASK_ON_TIME = 'CompletedTaskOnTime'
 
- Data Fields inherited from GamificationRules
const SCORE_CATEGORY_CREATE_MODEL = 'CreateModel'
 
const SCORE_CATEGORY_UPDATE_MODEL = 'UpdateModel'
 
const SCORE_CATEGORY_LOGIN_USER = 'LoginUser'
 
const SCORE_CATEGORY_MASS_EDIT = 'MassEdit'
 
const SCORE_CATEGORY_MASS_DELETE = 'MassDelete'
 
const SCORE_CATEGORY_SEARCH = 'Search'
 
const SCORE_CATEGORY_IMPORT = 'Import'
 
const SCORE_CATEGORY_TIME_SENSITIVE_ACTION = 'TimeSensitiveAction'
 

Additional Inherited Members

- Static Protected Member Functions inherited from GamificationRules
static resolveCreateScoreTypeByModel ($model)
 
static resolveUpdateScoreTypeByModel ($model)
 
- Protected Attributes inherited from GamificationRules
 $scoreOnUpdate = true
 

Detailed Description

Defines specific rules for task gamification.

Definition at line 40 of file TaskGamificationRules.php.

Member Function Documentation

attachScoringEventsByModelClassName (   $modelClassName)
Parameters
string$modelClassName

Definition at line 47 of file TaskGamificationRules.php.

scoreCompletedOnTime ( CEvent  $event)
Parameters
CEvent$event

Definition at line 57 of file TaskGamificationRules.php.

static getPointTypesAndValuesForCreateModel ( )
static
See Also
parent::getPointTypesAndValuesForCreateModel()

Definition at line 87 of file TaskGamificationRules.php.

static getPointTypesAndValuesForUpdateModel ( )
static
See Also
parent::getPointTypesAndValuesForUpdateModel()

Definition at line 95 of file TaskGamificationRules.php.

static getPointTypesAndValuesForTimeSensitiveAction ( )
static
See Also
parent::getPointTypesAndValuesForTimeSensitiveAction()

Definition at line 103 of file TaskGamificationRules.php.


The documentation for this class was generated from the following file:
Generated on Sat Jun 6 2020 07:11:08