Method | Description | |
---|---|---|
cancel ( string $id ) | Removes a posted notification by ID. | |
cancelAllNonPersistent ( ) | Removes all temporary notifications. | |
getAllNotificationsToDisplay ( ) : ArrayObject | Determine all notifications that needs to be displayed. They are sorted by priority. Highest priorities first. | |
notify ( string $id, |
Posts a notification that will be shown in Piwik's status bar. If a notification with the same ID has been posted and has not been closed/removed, it will be replaced with $notification. |
Method | Description | |
---|---|---|
addNotification ( $id, |
||
checkId ( $id ) | ||
getAllNotifications ( ) | ||
getSession ( ) : Piwik\Session\SessionNamespace | ||
isSessionEnabled ( ) | ||
removeNotification ( $id ) | ||
removeOldestNotificationsIfThereAreTooMany ( ) | ||
saveNotificationAcrossUiRequestsIfNeeded ( $id, |
public static cancelAllNonPersistent ( ) |
public static getAllNotificationsToDisplay ( ) : ArrayObject | ||
return | ArrayObject |