OpportunityGamificationRules Class Reference

Inheritance diagram for OpportunityGamificationRules:
GamificationRules

Public Member Functions

 scoreOnSaveModel (CEvent $event)

Static Public Member Functions

static getPointTypesAndValuesForCreateModel ()
static getPointTypesAndValuesForUpdateModel ()
static getPointTypesAndValuesForWinOpportunity ()

Data Fields

const SCORE_CATEGORY_WIN_OPPORTUNITY = 'WinOpportunity'
const SCORE_TYPE_WIN_OPPORTUNITY = 'WinOpportunity'

Detailed Description

Class defining rules for Opportunity gamification behavior.

Definition at line 40 of file OpportunityGamificationRules.php.


Member Function Documentation

scoreOnSaveModel ( CEvent $  event  ) 

(non-PHPdoc)

See also:
GamificationRules::scoreOnSaveModel()

Reimplemented from GamificationRules.

Definition at line 56 of file OpportunityGamificationRules.php.

static getPointTypesAndValuesForCreateModel (  )  [static]
See also:
parent::getPointTypesAndValuesForCreateModel()

Reimplemented from GamificationRules.

Definition at line 79 of file OpportunityGamificationRules.php.

static getPointTypesAndValuesForUpdateModel (  )  [static]
See also:
parent::getPointTypesAndValuesForUpdateModel()

Reimplemented from GamificationRules.

Definition at line 87 of file OpportunityGamificationRules.php.

static getPointTypesAndValuesForWinOpportunity (  )  [static]
Returns:
Point type/value data for a user changing the stage of an opportunity to 'Closed Won'

Definition at line 95 of file OpportunityGamificationRules.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Wed Aug 16 07:10:28 2017