public function archiwumAction() { $newsService = new Wsm_Db_News(); $this->addToView('years', $newsService->getYears()); $this->setTitle('Archiwum aktualności'); $this->setUrl('archiwum.html'); $this->setTemplate('news/archive.html'); }