Exemplo n.º 1
0
 function indexAction()
 {
     $db = new Other_Model_DbTable_DbPlayerList();
     $rows = $db->getAllPlayerList();
     $glClass = new Application_Model_GlobalClass();
     $rows = $glClass->getImgActive($rows, BASE_URL, true);
     try {
         $list = new Application_Form_Frmtable();
         $collumns = array("Title", "Status");
         $link = array('module' => 'other', 'controller' => 'playerlist', 'action' => 'edit');
         $this->view->list = $list->getCheckList(0, $collumns, $rows, array('title' => $link, 'descript' => $link));
     } catch (Exception $e) {
         Application_Form_FrmMessage::message("Application Error");
         Application_Model_DbTable_DbUserLog::writeMessageError($e->getMessage());
     }
 }