public function indexAction() { try { if ($this->getRequest()->isPost()) { $_data = $this->getRequest()->getPost(); } else { $search = array('title' => ''); } $db = new Other_Model_DbTable_Dbprivacy(); $rs = $db->getAllPrivacy($search); $list = new Application_Form_Frmtable(); $collumns = array("Title", "Description", "Status"); $link = array('module' => 'other', 'controller' => 'privacy', 'action' => 'edit'); } catch (Exception $e) { Application_Form_FrmMessage::message("Application Error"); Application_Model_DbTable_DbUserLog::writeMessageError($e->getMessage()); } $this->view->list = $list->getCheckList(0, $collumns, $rs, array('title' => $link, 'discription' => $link)); }
function policyAction() { $db = new Other_Model_DbTable_Dbprivacy(); $this->view->rows = $db->getAllPrivacy(); }