Exemple #1
0
 public static function write($typeID = 0, $data = '')
 {
     if ($data != '') {
         $data = serialize($data);
     }
     Model_Intranet::writeLog($typeID, $data);
 }
Exemple #2
0
 /**
  * Check for new Messages
  * 
  * @author David Stansfield
  */
 public function post_check_new_messages()
 {
     $result = array();
     $result = Model_Intranet::checkNewMessages();
     return Json::output('success', '', $result);
 }