\PushNotification
Synopsis
class PushNotification
extends DataObject
{
- // members
- private static array $db = ;
- private static array $many_many = ;
- private static array $summary_fields = ;
- private static array $searchable_fields = ;
- private static string $default_sort = 'Created DESC';
- protected $providerInst;
- private boolean $resave = false;
- // methods
- public void getCMSFields()
- public void getValidator()
- protected void validate()
- protected void onBeforeWrite()
- public void onAfterWrite()
- public void canEdit()
- public PushNotificationProvider getProvider()
- public void setProvider()
- public ArrayList getRecipients()
- public void doSend()
Hierarchy
Extends
- DataObject
Members
private
- $db
- $default_sort
- $many_many
- $resave
- $searchable_fields
- $summary_fields
protected
- $providerInst
Methods
protected
public
- canEdit()
- doSend() — Sends the push notification then locks this record so it cannot be sent again.
- getCMSFields()
- getProvider()
- getRecipients() — Returns all member recipient objects.
- getValidator()
- onAfterWrite()
- setProvider()