public function indexAction() { $oNieuwsItem = new NieuwsItem(); $oNieuwsItem->setTranslatedTitelKey($this->_getParam('t')); $aNieuwsItem = $oNieuwsItem->getItem(); if (!$oNieuwsItem->exists()) { $this->displayErrorPage(404); } $this->view->assign('aNieuwsItem', $aNieuwsItem); // Zend_Debug::dump($oNieuwsItem->getTranslations()); exit; $this->addExtraBreadcrumb($aNieuwsItem['titel']); $this->setPageTitle($aNieuwsItem['titel']); // renderen $this->render($this->_getParam('template') . '/' . $this->_getParam('block'), $this->_getParam('block')); }