\NotificationType
DataObject representing a notification type.
User can not create or delete notification types. They can however Edit the format of a notifcation type to customise
the message that will be sent to the user.
Synopsis
class NotificationType
extends DataObject
{
- // members
- private static array $db = ;
- private static array $summary_fields = ;
- private static array $indexes = ;
- private static array $field_labels = ;
- // methods
- public FieldList getCMSFields()
- public boolean canCreate()
- public boolean canDelete()
- public static NotificationType bySystemName()
- public void requireDefaultRecords()
- public ArrayList FormatVariablesList()
Hierarchy
Extends
- DataObject
Tasks
Line | Task |
---|---|
21+ | Add a variable list to the help text editors know what variables they can use. |
Members
private
- $db
- $field_labels
- $indexes
- $summary_fields
Methods
public
- FormatVariablesList() — Return a list of FormatVariables for display in a template.
- bySystemName() — Retrieve a NotificationType by its System Name or null if none can be found.
- canCreate() — {@inheritDoc}
- canDelete() — {@inheritDoc}
- getCMSFields() — {@inheritDoc}
- requireDefaultRecords()