Exemplo n.º 1
0
 function displayLeaderboards()
 {
     if (!$this->editpage) {
         $stats = new CategorizationStandingsIndividual();
         $stats->addStatsWidget();
         $standings = new CategorizationStandingsGroup();
         $standings->addStandingsWidget();
     }
 }
Exemplo n.º 2
0
 public function getUserCount(&$dbr)
 {
     $standings = new CategorizationStandingsIndividual();
     $data = $standings->fetchStats();
     return $data['week'];
 }