All Data Structures Functions Variables Pages
Static Public Member Functions | Static Public Attributes
MassEditModelsGameBadgeRules Class Reference
Inheritance diagram for MassEditModelsGameBadgeRules:
GameBadgeRules MassEditAccountsGameBadgeRules MassEditContactsGameBadgeRules MassEditOpportunitiesGameBadgeRules MassEditProjectsGameBadgeRules

Static Public Member Functions

static badgeGradeUserShouldHaveByPointsAndScoresByModelClassName ($userPointsByType, $userScoresByType, $modelClassName)
 
- Static Public Member Functions inherited from GameBadgeRules
static getPassiveDisplayLabel ($value)
 
static getItemCountByGrade ($grade)
 
static getType ()
 
static getBadgeRulesData ()
 
static badgeGradeUserShouldHaveByPointsAndScores ($userPointsByType, $userScoresByType)
 
static hasBonusPointsOnCreation ()
 
static hasBonusPointsOnGradeChange ()
 
static getNewBonusPointType ()
 
static getNewBonusPointValue ()
 
static getGradeBonusPointType ()
 
static getGradeBonusPointValue ($grade)
 

Static Public Attributes

static $valuesIndexedByGrade
 

Additional Inherited Members

- Static Protected Member Functions inherited from GameBadgeRules
static getBadgeGradeByValue ($value)
 

Detailed Description

Base class for defining the badge associated with mass editing models

Definition at line 40 of file MassEditModelsGameBadgeRules.php.

Member Function Documentation

static badgeGradeUserShouldHaveByPointsAndScoresByModelClassName (   $userPointsByType,
  $userScoresByType,
  $modelClassName 
)
static
Parameters
array$userPointsByType
array$userScoresByType
string$modelClassName
Returns
int|string

Definition at line 64 of file MassEditModelsGameBadgeRules.php.

Field Documentation

$valuesIndexedByGrade
static
Initial value:
= array(
1 => 1,
2 => 5,
3 => 10,
4 => 20,
5 => 30,
6 => 40,
7 => 50,
8 => 60,
9 => 70,
10 => 80,
11 => 90,
12 => 100,
13 => 125
)

Definition at line 42 of file MassEditModelsGameBadgeRules.php.


The documentation for this class was generated from the following file:
Generated on Wed Apr 8 2020 07:11:01