_restAlias) && false === filter_var($this->_restAlias, FILTER_VALIDATE_INT, array('options' => array('min_range' => 0))) ) { $this->_doc->display404(); } if (App_Conference_Admin_Obj::SEASON_FALL == $this->getConfig('type') || App_Conference_Admin_Obj::SEASON_SPRING == $this->getConfig('type')) { $this->_getDataObj()->addFilter(array('season' => $this->getConfig('type'))); $this->_initYear(); $this->_getDataObj()->initPrimaryKey(); } else { $this->_doc->display404(); } return parent::exec(); } protected function _doView() { $item = $this->_getDataObj()->getData(); if (!empty($this->_years)) { $item['year'] = $this->_years['year']; $item['years'] = $this->_years['years']; } $item['tpl'] = $this->getTemplate('view.tpl'); $this->_addItem($item); Qs_Navigation::append(array('title' => $item['year'])); $this->_postView(); return $this; } protected function _setYearFilter($year) { $this->_getDataObj()->addFilter(array('year' => $year)); } }