Method | Description | Returns |
---|---|---|
getId() | int | |
getStatus() | string | |
getMessage() | string | |
getLink() | string | |
getCreated() | Date the record was created. | DateTime |
getSeen() | Returns a value when notification was seen by user | DateTime |
isSeen() | Returns if notifications was seen (not necessary read) by a user | bool |
getRead() | Returns a value when notification was read by user | DateTime |
isRead() | Returns if notifications was read by a user | bool |
getCreatedBy() | User | |
isTask() | Returns if notification is a task: resolved or not | bool |
isResolved() | Returns if notification is a task: exactly resolved | bool |
isNewRecord() | Check if the record is a new record | bool |
isHierarchicalModel() | Check whether a model is a hierarchical model, i.e. can have children | bool |
isVersionedModel() | Check whether a model is versioned | bool |
Admin\Models\Frontend\Notification
Notification for showing on Backend for users