Пример #1
0
 public function exibenoticiaAction()
 {
     $request = $this->getRequest();
     //	$user = Zend_Registry::get('zend_auth_user');
     $noticia = new Application_Model_DbTable_Noticias();
     $select = $noticia->select();
     $resultado = $select->where('idNoticias = ?', $request->getParam('noticia'))->limit(1);
     $this->view->noticia = $noticia->fetchall($resultado);
 }