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

Public Member Functions

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

Static Public Member Functions

static getPointTypesAndValuesForCreateModel ()
 
static getPointTypesAndValuesForTakeMission ()
 
static getPointTypesAndValuesForCompleteMission ()
 
static getPointTypesAndValuesForAcceptedMission ()
 
- 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_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'
 
- 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'
 

Protected Attributes

 $scoreOnUpdate = false
 
- Protected Attributes inherited from GamificationRules
 $scoreOnUpdate = true
 

Additional Inherited Members

- Static Protected Member Functions inherited from GamificationRules
static resolveCreateScoreTypeByModel ($model)
 
static resolveUpdateScoreTypeByModel ($model)
 

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

Definition at line 78 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:
Generated on Thu Jan 23 2020 07:10:37