NZTA\SDLT\Model\QuestionnaireEmail
Class QuestionnaireEmail
Synopsis
class QuestionnaireEmail
extends DataObject
{
- // members
- private static string $table_name = 'QuestionnaireEmail';
- private static array $db = ;
- private static array $summary_fields = ;
- private static array $approval_roles = ;
- // methods
- public FieldList getCMSFields()
- private array approvalLinkEmailFields()
- // Inherited methods from SDLTModelPermissions
- public bool canView()
- public bool canCreate()
- public bool canEdit()
- public bool canDelete()
Hierarchy
Members
private
- $approval_roles
—
array
Of the total no. roles in the system, these are those that are applicable to sending emails. - $db — array
- $summary_fields — array
- $table_name — string
Methods
private
- approvalLinkEmailFields() — Simply returns an array of fields used for the "Approval Link Emails" CMS getCMSFields() tab.
public
- getCMSFields() — CMS Fields
Inherited from NZTA\SDLT\Traits\SDLTModelPermissions
public
- canCreate() — Allow logged-in user to create an instance of the model
- canDelete() — Allow logged-in user to delete an instance of the model
- canEdit() — Allow logged-in user to edit an instance of the model
- canView() — Allow logged-in user to access the model