/** * Sets variables for view of "Akce" page */ public function renderDefault() { $template = $this->template; $template->title = "Akce"; $template->events = $this->events->getCurrentEvents(); $template->calendars = $this->calendars->getVisibleCalendars(); }