public function summaryAction() { // Check if the user is allowed to perform this action $dumbAlarm = new Application\Model\AlarmModel(); $this->_helper->allowed('list', $dumbAlarm); $params = array(); if ($this->_hasParam('alarmType')) { $params['alarmType'] = $this->_getParam('alarmType'); } $filterList = $this->_alarmSrv->buildFilterList($params); $this->_helper->filterNotAllowedFilters('filter_by', $filterList); $this->_helper->addAutoFiltersAlarm($filterList); //Build presets $alarmSummary = $this->_getSummary($filterList); $this->view->data = $alarmSummary; }