Frontend | Backend | Api

Admin\Models\Frontend\Notification

Notification for showing on Backend for users

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
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