cancel() 공개 정적인 메소드

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