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