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