示例#1
0
 public function getNotifications()
 {
     $notifications = array();
     $notify_types = User::getNotificationTypes();
     foreach ($notify_types as $notify_key => $notify_info) {
         $notify_info['count'] = 0;
         $notify_info['show'] = FALSE;
         $notify_info['text'] = '';
         $notifications[$notify_info['short']] = $notify_info;
     }
 }