Symbiote\Notifications\Tests\NotifyOnThis
- Author: marcus@symbiote.com.au
- License: http://silverstripe.org/bsd-license/
Synopsis
class NotifyOnThis
extends DataObject
implements
NotifiedOn,TestOnly
{
- // members
- private static array $db = ;
- protected $availableKeywords;
- // methods
- public array getAvailableKeywords()
- public array getNotificationTemplateData()
- public array getRecipients()
Hierarchy
Extends
- SilverStripe\ORM\DataObject
Uses
- SilverStripe\Core\Config\Configurable
Implements
- Symbiote\Notifications\Model\NotifiedOn
- SilverStripe\Dev\TestOnly
Members
private
- $db
protected
- $availableKeywords
Methods
public
- getAvailableKeywords() — Return a list of all available keywords in the format array( 'keyword' => 'A description' )
- getNotificationTemplateData() — Gets an associative array of data that can be accessed in notification fields and templates
- getRecipients() — Gets the list of recipients for a given notification event, based on this object's state.