public function indexAction() { $this->createTabs('main', 'overview'); $this->view->configAdmin = $this->hasPermission('config/elasticsearch'); $this->view->canTypes = $this->hasPermission('elasticsearch/events'); $repository = new EventTypeRepository(); $query = $repository->select(); $this->filterEventTypes($query); $this->view->eventTypes = $query; }
public function indexAction() { $this->createTabs('types', 'index'); $repository = new EventTypeRepository(); $this->view->eventTypes = $repository->select(); }