Exemple #1
0
 function getDashEvents()
 {
     $data = array();
     $where = "AND logs.timestamp LIKE '%'";
     $date = "logs.type LIKE '%'";
     $data = Model_Db_Dashboard::getDashEvents($date, $where);
     return $this->rightLogs($data);
 }
Exemple #2
0
 function getDashEvents()
 {
     $data = array();
     $where = "AND logs.timestamp LIKE '%' AND lc.uid = " . $this->registry["ui"]["id"];
     $date = "logs.type LIKE '%'";
     $db = new Model_Db_Dashboard();
     $data = $db->getDashEvents($date, $where);
     for ($i = 0; $i < count($data); $i++) {
         $data[$i]["param"] = $this->logs->getHistoryFromId($data[$i]["id"]);
     }
     return $data;
 }