예제 #1
0
파일: Dashboard.php 프로젝트: norayrx/otms
 function getEvents()
 {
     $data = array();
     $where = $this->getSessionWhere();
     $date = $this->getSessionDate();
     $data = Model_Db_Dashboard::getEvents($date, $where);
     return $this->rightLogs($data);
 }
예제 #2
0
파일: Dashboard.php 프로젝트: rosko/workapp
 function getEvents()
 {
     $data = array();
     $where = $this->getSessionWhere();
     $date = $this->getSessionDate();
     $db = new Model_Db_Dashboard();
     $data = $db->getEvents($date, $where);
     if (count($data) > 0) {
         $this->dashboard["log_id"] = $data[count($data) - 1]["id"];
     }
     return $this->rightLogs($data);
 }