CreateProductTemplateGameBadgeRules Class Reference

Inheritance diagram for CreateProductTemplateGameBadgeRules:
GameBadgeRules

Static Public Member Functions

static getPassiveDisplayLabel ($value)
static badgeGradeUserShouldHaveByPointsAndScores ($userPointsByType, $userScoresByType)

Static Public Attributes

static $valuesIndexedByGrade

Detailed Description

Class for defining the badge associated with creating a new product template

Definition at line 40 of file CreateProductTemplateGameBadgeRules.php.


Member Function Documentation

static getPassiveDisplayLabel ( value  )  [static]
Parameters:
string $value
Returns:
array

Reimplemented from GameBadgeRules.

Definition at line 62 of file CreateProductTemplateGameBadgeRules.php.

static badgeGradeUserShouldHaveByPointsAndScores ( userPointsByType,
userScoresByType 
) [static]
Parameters:
array $userPointsByType
array $userScoresByType
Returns:
int

Reimplemented from GameBadgeRules.

Definition at line 73 of file CreateProductTemplateGameBadgeRules.php.


Field Documentation

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

Definition at line 42 of file CreateProductTemplateGameBadgeRules.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sun Apr 23 07:10:24 2017