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

MissionGamificationRules Class Reference

Inheritance diagram for MissionGamificationRules:
GamificationRules

Public Member Functions

 scoreOnSaveModel (CEvent $event)

Static Public Member Functions

static getPointTypesAndValuesForCreateModel ()
static getPointTypesAndValuesForTakeMission ()
static getPointTypesAndValuesForCompleteMission ()
static getPointTypesAndValuesForAcceptedMission ()

Data Fields

const SCORE_TYPE_TAKE_MISSION = 'TakeMission'
const SCORE_TYPE_COMPLETE_MISSION = 'CompleteMission'
const SCORE_TYPE_ACCEPTED_MISSION = 'AcceptedMission'
const SCORE_CATEGORY_TAKE_MISSION = 'TakeMission'
const SCORE_CATEGORY_COMPLETE_MISSION = 'CompleteMission'
const SCORE_CATEGORY_ACCEPTED_MISSION = 'AcceptedMission'

Protected Attributes

 $scoreOnUpdate = false

Detailed Description

Defines specific rules for mission gamification.

Definition at line 40 of file MissionGamificationRules.php.


Member Function Documentation

scoreOnSaveModel ( CEvent $  event  ) 

(non-PHPdoc)

See also:
GamificationRules::scoreOnSaveModel()

Reimplemented from GamificationRules.

Definition at line 78 of file MissionGamificationRules.php.

static getPointTypesAndValuesForCreateModel (  )  [static]
Returns:
Point type/value data for generically creating a model.

Reimplemented from GamificationRules.

Definition at line 134 of file MissionGamificationRules.php.

static getPointTypesAndValuesForTakeMission (  )  [static]
Returns:
Point type/value data for a user taking a mission

Definition at line 142 of file MissionGamificationRules.php.

static getPointTypesAndValuesForCompleteMission (  )  [static]
Returns:
Point type/value data for a user completing a mission

Definition at line 150 of file MissionGamificationRules.php.

static getPointTypesAndValuesForAcceptedMission (  )  [static]
Returns:
Point type/value data for a user having a mission accepted

Definition at line 158 of file MissionGamificationRules.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu Mar 21 07:10:56 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