Exemple #1
0
 /**
  * Get the count for available debates
  *
  * @return int
  */
 public function countDebates($p_language_id = null)
 {
     global $g_ado_db;
     $query = Debate::getQuery($p_language_id);
     $res = $g_ado_db->Execute($query);
     return $res->RecordCount();
 }