Exemplo n.º 1
0
 public function newsAction()
 {
     $index = new Application_Model_DbTable_Index();
     $news = $index->getNews();
     if ($news['status']) {
         $this->view->news = $news['value'];
     }
 }