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 Wed Mar 22 07:10:27 2017