TaskGamificationRules Class Reference

Inheritance diagram for TaskGamificationRules:
GamificationRules

Public Member Functions

 attachScoringEventsByModelClassName ($modelClassName)
 scoreCompletedOnTime (CEvent $event)

Static Public Member Functions

static getPointTypesAndValuesForCreateModel ()
static getPointTypesAndValuesForUpdateModel ()
static getPointTypesAndValuesForTimeSensitiveAction ()

Data Fields

const SCORE_TYPE_COMPLETED_TASK_ON_TIME = 'CompletedTaskOnTime'

Detailed Description

Defines specific rules for task gamification.

Definition at line 40 of file TaskGamificationRules.php.


Member Function Documentation

attachScoringEventsByModelClassName ( modelClassName  ) 
Parameters:
string $modelClassName

Reimplemented from GamificationRules.

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

Reimplemented from GamificationRules.

Definition at line 87 of file TaskGamificationRules.php.

static getPointTypesAndValuesForUpdateModel (  )  [static]
See also:
parent::getPointTypesAndValuesForUpdateModel()

Reimplemented from GamificationRules.

Definition at line 95 of file TaskGamificationRules.php.

static getPointTypesAndValuesForTimeSensitiveAction (  )  [static]
See also:
parent::getPointTypesAndValuesForTimeSensitiveAction()

Reimplemented from GamificationRules.

Definition at line 103 of file TaskGamificationRules.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Sep 25 07:10:30 2017