All Data Structures Functions Variables Pages
Static Public Member Functions | Static Public Attributes
SearchModelsGameBadgeRules Class Reference
Inheritance diagram for SearchModelsGameBadgeRules:
GameBadgeRules SearchAccountsGameBadgeRules SearchContactsGameBadgeRules SearchOpportunitiesGameBadgeRules SearchProductsGameBadgeRules SearchProductTemplatesGameBadgeRules SearchProjectsGameBadgeRules

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 searching models

Definition at line 40 of file SearchModelsGameBadgeRules.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 SearchModelsGameBadgeRules.php.

Field Documentation

$valuesIndexedByGrade
static
Initial value:
= array(
1 => 1,
2 => 10,
3 => 25,
4 => 50,
5 => 75,
6 => 100,
7 => 125,
8 => 150,
9 => 175,
10 => 200,
11 => 225,
12 => 250,
13 => 300
)

Definition at line 42 of file SearchModelsGameBadgeRules.php.


The documentation for this class was generated from the following file:
Generated on Tue May 26 2020 07:11:00