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