UserRanking
: int
in package
User ranking titles
Table of Contents
Cases
- Adept = 5
- Average = 4
- Beginner = 2
- Elite = 7
- Expert = 6
- Fledgling = 3
- Grandmaster = 9
- Master = 8
- Newbie = 1
Methods
- getMinScore() : int
- Given a rank, return the minimum score needed to achieve it (this is an inversion of getRankFromScore)
- getRankFromScore() : self
- Given a score, return the associated rank
Cases
Newbie
Beginner
Fledgling
Average
Adept
Expert
Elite
Master
Grandmaster
Methods
getMinScore()
Given a rank, return the minimum score needed to achieve it (this is an inversion of getRankFromScore)
public
getMinScore() : int
Return values
intgetRankFromScore()
Given a score, return the associated rank
public
static getRankFromScore(int $score) : self
Parameters
- $score : int