CreateEmailMessageForm Class Reference

Inheritance diagram for CreateEmailMessageForm:
ModelForm

Public Member Functions

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

Data Fields

 $recipientsData

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 44 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 73 of file CreateEmailMessageForm.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Wed Aug 23 07:10:24 2017