cancel() public static method

Removes a posted notification by ID.
public static cancel ( string $id )
$id string The notification ID, see {@link notify()}.
Beispiel #1
0
 public function markNotificationAsRead()
 {
     $notificationId = Common::getRequestVar('notificationId');
     NotificationManager::cancel($notificationId);
 }