CreateTaskGameBadgeRules Class Reference

Inheritance diagram for CreateTaskGameBadgeRules:
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 task

Definition at line 40 of file CreateTaskGameBadgeRules.php.


Member Function Documentation

static getPassiveDisplayLabel ( value  )  [static]

Get passive display label

Parameters:
int $value
Returns:
string

Reimplemented from GameBadgeRules.

Definition at line 63 of file CreateTaskGameBadgeRules.php.

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

Reimplemented from GameBadgeRules.

Definition at line 74 of file CreateTaskGameBadgeRules.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 CreateTaskGameBadgeRules.php.


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