/** * Display a form for processing tickets in a batch * * @return void */ public function batchTask() { Request::setVar('hidemainmenu', 1); // Incoming $this->view->ids = Request::getVar('id', array()); $this->view->tmpl = Request::getVar('tmpl', ''); $this->view->filters = Utilities::getFilters(); $this->view->lists = array(); // Get categories $sa = new Tables\Category($this->database); $this->view->lists['categories'] = $sa->find('list'); // Get severities $this->view->lists['severities'] = Utilities::getSeverities($this->config->get('severities')); $this->view->lists['owner'] = $this->_userSelect('owner', '', 1); // Output the HTML $this->view->display(); }