/** * * Gets data from the Leaderboard class for this widget */ public function getLeaderboardData(&$dbr, $starttimestamp) { $data = Leaderboard::getSpellchecked($starttimestamp); arsort($data); return $data; }