public function getTemplateParameters()
 {
     $matches = array();
     $paginator = null;
     $count = MatchesDataService::countTodaysMatches($this->_websoccer, $this->_db);
     if ($count) {
         $eps = $this->_websoccer->getConfig("entries_per_page");
         $paginator = new Paginator($count, $eps, $this->_websoccer);
         $matches = MatchesDataService::getTodaysMatches($this->_websoccer, $this->_db, $paginator->getFirstIndex(), $eps);
     }
     return array("matches" => $matches, "paginator" => $paginator);
 }