CreateEmailMessageForm Class Reference

Inheritance diagram for CreateEmailMessageForm:
ModelForm

Public Member Functions

 __construct (EmailMessage $model)
 rules ()
 attributeLabels ()
 validateMinimumToRecipients ($attribute, $params)

Data Fields

 $recipientsData
 $contactEmailTemplateNames

Static Protected Member Functions

static getRedBeanModelClassName ()

Detailed Description

Use this form when creating a new email message

Definition at line 40 of file CreateEmailMessageForm.php.


Member Function Documentation

static getRedBeanModelClassName (  )  [static, protected]

Override in child to implement.

Exceptions:
NotImplementedException 

Reimplemented from ModelForm.

Definition at line 46 of file CreateEmailMessageForm.php.

validateMinimumToRecipients ( attribute,
params 
)

When the scenario is createNonDraft, it means you have to have at least one recipient

Parameters:
string $attribute
array $params

Definition at line 75 of file CreateEmailMessageForm.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Fri Dec 13 07:11:00 2019