예제 #1
0
 public function indexAction()
 {
     $model = new App_Model_Page();
     $this->view->model = $model->fetchRow(array("name ='links'", 'active = 1'));
     $links = new App_Model_Links();
     $this->view->links = $links->fetchAll('active=1', 'order');
 }
예제 #2
0
 public function indexAction()
 {
     $this->view->message = $this->_helper->flashMessenger->getMessages();
     $model = new App_Model_Links();
     $this->view->model = $model->fetchAll(null, 'order');
 }