public function indexAction() { $model = new App_Model_Page(); $this->view->model = $model->fetchRow(array("name ='careers'", 'active = 1')); $jobs = new App_Model_Careers(); $this->view->jobs = $jobs->fetchAll('active=1', 'order'); }
public function indexAction() { $this->view->message = $this->_helper->flashMessenger->getMessages(); $model = new App_Model_Careers(); $this->view->model = $model->fetchAll(null, 'order'); }