\SentEmail
Defines a record that stores an email that was sent via {@link Permamail}
- Author: Uncle Cheese <unclecheese@leftandmain.com>
Synopsis
class SentEmail
extends DataObject
{
- // members
- private static array $db = ;
- private static array $summary_fields = ;
- private static string $default_sort = 'Created DESC';
- private static array $better_buttons_actions = ;
- // methods
- public FieldList getBetterButtonsActions()
- public FieldList getCMSFields()
- public Permamail getEmail()
- public void resend()
- public boolean canView()
- public boolean canEdit()
- public boolean canCreate()
- public boolean canDelete()
Hierarchy
Extends
- DataObject
Members
private
- $db
- $default_sort
- $summary_fields
Methods
public
- canCreate() — Defines the create permission
- canDelete() — Defines the delete permission
- canEdit() — Defines the edit permission
- canView() — Defines the view permission
- getBetterButtonsActions() — Gets a list of actions for the ModelAdmin interface
- getCMSFields() — Gets a list of form fields for editing the record.
- getEmail() — Gets the {@link Permamail} object that was used to send this email
- resend() — A BetterButtons custom action that allows the email to be resent