public function archiveYearAction($year) { $this->setTitle('Postępowania przetargowe ' . $year . 'r.'); $this->setUrl('przetargi_' . $year . '.html'); $this->setTemplate('auction/list.html'); $auctionService = new Wsm_Db_Auction(); $list = $auctionService->getListByYear($year); $this->addToView('auctionList', $list); }