SearchContactsGameBadgeRules Class Reference

Inheritance diagram for SearchContactsGameBadgeRules:
SearchModelsGameBadgeRules GameBadgeRules

Static Public Member Functions

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

Detailed Description

Class for defining the badge associated with searching contacts

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


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