Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

CreateCommentGameBadgeRules Class Reference

Inheritance diagram for CreateCommentGameBadgeRules:
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 comment

Definition at line 40 of file CreateCommentGameBadgeRules.php.


Member Function Documentation

static badgeGradeUserShouldHaveByPointsAndScores ( userPointsByType,
userScoresByType 
) [static]

Given a user's points and scores, determine if the user should have this badge. And if so, which 'grade' the badge should be.

Parameters:
array $userPointsByType
array $userScoresByType
Returns:
integer. Returns 0 if the user should not have this badge.

Reimplemented from GameBadgeRules.

Definition at line 63 of file CreateCommentGameBadgeRules.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 CreateCommentGameBadgeRules.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Mar 25 07:10:49 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8