Example #1
0
 public static function verifiedCount()
 {
     return Database::single_result("SELECT count(name) FROM players where mtgo_confirmed = 1");
 }
Example #2
0
 public static function getNewest()
 {
     $eventname = Database::single_result("SELECT name FROM events ORDER BY start DESC LIMIT 1");
     return new Event($eventname);
 }
Example #3
0
 static function count()
 {
     return Database::single_result("SELECT count(id) FROM matches");
 }