public function indexAction() { try { if ($this->getRequest()->isPost()) { $_data = $this->getRequest()->getPost(); } else { $search = array('title' => ''); } $db = new Stuff_Model_DbTable_DbStuff(); $rows = $db->getAllStuff($search); $glClass = new Application_Model_GlobalClass(); $rows = $glClass->getImgActive($rows, BASE_URL, true); $list = new Application_Form_Frmtable(); $collumns = array("Equipment Name", "Reference No", " Year of Product", "Make/Model", "Serial No.", "Telephone Number", "Status"); $link = array('module' => 'stuff', 'controller' => 'index', '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, $rows, array('equipment_name' => $link, 'reference_no' => $link)); }