Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

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 Fri Mar 22 07:11:06 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8