ContactGamificationRules Class Reference

Inheritance diagram for ContactGamificationRules:
GamificationRules

Public Member Functions

 scoreOnSaveModel (CEvent $event)

Static Public Member Functions

static getPointTypesAndValuesForCreateModel ()
static getPointTypesAndValuesForUpdateModel ()
static getPointTypesAndValuesForConvertLead ()
static getPointTypesAndValuesForCreateLead ()
static getPointTypesAndValuesForUpdateLead ()

Data Fields

const SCORE_CATEGORY_CREATE_LEAD = 'CreateLead'
const SCORE_CATEGORY_UPDATE_LEAD = 'UpdateLead'
const SCORE_CATEGORY_CONVERT_LEAD = 'ConvertLead'
const SCORE_TYPE_CREATE_LEAD = 'CreateLead'
const SCORE_TYPE_UPDATE_LEAD = 'UpdateLead'
const SCORE_TYPE_CONVERT_LEAD = 'ConvertLead'

Protected Member Functions

 scoreOnSaveWhereLeadIsConverted (CEvent $event)
 scoreOnSaveWhereStateIsLead (CEvent $event)

Detailed Description

Class defining rules for Contact gamification behavior.

Definition at line 40 of file ContactGamificationRules.php.


Member Function Documentation

scoreOnSaveModel ( CEvent $  event  ) 

Given a event, perform the onSave score logic for a model ($event->sender)

Parameters:
CEvent $event

Reimplemented from GamificationRules.

Definition at line 54 of file ContactGamificationRules.php.

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

Reimplemented from GamificationRules.

Definition at line 118 of file ContactGamificationRules.php.

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

Reimplemented from GamificationRules.

Definition at line 123 of file ContactGamificationRules.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu Dec 14 07:10:22 2017