Beispiel #1
0
 /**
  * Pop all notifications from NQ. Get the type for use with CSS.
  * @return Properly styled notifications.
  */
 public function display()
 {
     $notifications = \NQ::popAll('appsync');
     $tags = array();
     foreach ($notifications as $notification) {
         $type = self::getType($notification);
         $tags['NOTIFICATIONS'][][$type] = $notification->toString();
     }
     $content = \PHPWS_Template::process($tags, 'appsync', 'notification.tpl');
     return $content;
 }
 public function popNotifications()
 {
     $this->notifications = \NQ::popAll('hms');
 }
 public function popNotifications()
 {
     $this->notifications = NQ::popAll('faxmaster');
 }