42 public static $valuesIndexedByGrade = array(
58 public static function getPassiveDisplayLabel($value)
60 return Zurmo::t(
'NotesModule',
'{n} NotesModuleSingularLabel created|{n} NotesModulePluralLabel created',
71 assert(
'is_array($userPointsByType)');
72 assert(
'is_array($userScoresByType)');
73 if (isset($userScoresByType[
'CreateNote']))
75 return static::getBadgeGradeByValue((
int)$userScoresByType[
'CreateNote']->value);
static badgeGradeUserShouldHaveByPointsAndScores($userPointsByType, $userScoresByType)
static getTranslationParamsForAllModules()