\Notification
Represent a notification that is attached to a specific member. Is normally created by {@link NotificationDataObjectProvider}.
Synopsis
class Notification
extends DataObject
{
- // members
- private static array $db = ;
- private static array $has_one = ;
- private static array $summary_fields = ;
- private static array $default_sort = ;
- // methods
- public boolean canView()
- public boolean canEdit()
- public boolean canDelete()
- public boolean canMarkAsRead()
- public boolean getViewed()
- public void setViewed()
Hierarchy
Extends
- DataObject
Members
private
- $db
- $default_sort
- $has_one
- $summary_fields
Methods
public
- canDelete()
- canEdit()
- canMarkAsRead() — Determine if the provided user can mark this Notification as read.
- canView()
- getViewed() — Accessor for the Viewed attribute
- setViewed() — Mutator for theViewed attribute.