SilverStripe\Blog\Model\BlogPostNotifications
Customise blog post to support comment notifications.
Extends with extensions to .
Synopsis
class BlogPostNotifications
extends DataExtension
{
- // members
- private static boolean $notification_on_spam = true;
- // methods
- public void updateNotificationRecipients()
- public void updateNotificationSubject()
Hierarchy
Extends
- SilverStripe\ORM\DataExtension
Members
private
- $notification_on_spam
—
boolean
Configure whether to send notifications even for spam comments
Methods
public
- updateNotificationRecipients() — Notify all authors of notifications.
- updateNotificationSubject() — Update comment to include the page title.