public function listAction() { $this->indexAction(); $year = trim($this->_getParam('year')); if (preg_match('/^\\d{4}$/', $year) > 0) { $f = new Opus_DocumentFinder(); $f->setServerState('published'); $f->setServerDatePublishedRange($year, $year + 1); $this->view->ids = $f->ids(); } return $this->render('index'); }