Пример #1
0
 public function render($event)
 {
     $template = $this->template;
     $template->groups = $this->model->getGroups()->where('eventID', $event);
     $template->setFile(dirname(__FILE__) . '/GroupList.latte');
     $template->render();
 }