notifications
in package
implements
Countable
ACP notification list
Tags
Interfaces, Classes, Traits and Enums
- Countable
Table of Contents
- $ctr : int
- Counter of notifications
- $notifications : array<string|int, mixed>
- List of notificatio objects
- __toString() : string
- Returns notification string
- addNotification() : mixed
- Notification hinzufügen
- count() : array<string|int, mixed>
- Array mit Notifications zurückgeben
- getNotifications() : array<string|int, mixed>
- Array mit Notifications zurückgeben
- prependSystemNotifications() : void
- Prepends system notifications
Properties
$ctr
Counter of notifications
private
int
$ctr
= null
$notifications
List of notificatio objects
private
array<string|int, mixed>
$notifications
= []
Methods
__toString()
Returns notification string
public
__toString() : string
Return values
string —addNotification()
Notification hinzufügen
public
addNotification(notificationItem $notification) : mixed
Parameters
- $notification : notificationItem
Return values
mixed —count()
Array mit Notifications zurückgeben
public
count() : array<string|int, mixed>
Return values
array<string|int, mixed> —getNotifications()
Array mit Notifications zurückgeben
public
getNotifications() : array<string|int, mixed>
Return values
array<string|int, mixed> —prependSystemNotifications()
Prepends system notifications
public
final prependSystemNotifications() : void