SilverStripe\ContentReview\Tasks\ContentReviewEmails
Daily task to send emails to the owners of content items when the review date rolls around.
Synopsis
class ContentReviewEmails
extends BuildTask
{
- // methods
- public void run()
- protected array getOverduePagesForOwners()
- protected void notifyOwner()
- protected HTMLText getEmailBody()
- protected array getTemplateVariables()
Hierarchy
Extends
- SilverStripe\Dev\BuildTask
Methods
protected
- getEmailBody() — Get string value of HTML body with all variable evaluated.
- getOverduePagesForOwners()
- getTemplateVariables() — Gets list of safe template variables and their values which can be used in both the static and editable templates.
- notifyOwner()