Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.
 All Data Structures Functions Variables Pages
Public Member Functions | Data Fields | Static Protected Member Functions
CreateEmailMessageForm Class Reference
Inheritance diagram for CreateEmailMessageForm:
ModelForm

Public Member Functions

 __construct (EmailMessage $model)
 
 rules ()
 
 attributeLabels ()
 
 validateMinimumToRecipients ($attribute, $params)
 
- Public Member Functions inherited from ModelForm
 __construct (RedBeanModel $model)
 
 getModel ()
 
 __toString ()
 
 __set ($name, $value)
 
 __get ($name)
 
 getMetadata ()
 
 isAttribute ($attributeName)
 
 isAttributeRequired ($attribute)
 
 attributeNames ()
 
 getAttributeLabel ($attribute)
 
 setAttributes ($values, $safeOnly=true)
 
 validate ($attributes=null, $clearErrors=true)
 
 getValidators ($attribute=null)
 
 getErrors ($attributeNameOrNames=null)
 
 hasErrors ($attributeNameOrNames=null)
 
 save ($runValidation=true, array $attributeNames=null)
 
 getError ($attribute)
 

Data Fields

 $recipientsData
 
 $contactEmailTemplateNames
 

Static Protected Member Functions

static getRedBeanModelClassName ()
 
- Static Protected Member Functions inherited from ModelForm
static getRedBeanModelClassName ()
 
static shouldIgnoreRequiredValidator ()
 

Additional Inherited Members

- Static Public Member Functions inherited from ModelForm
static isOwnedRelation ($attributeName)
 
static isRelation ($attributeName)
 
static getRelationModelClassName ($relationName)
 
- Protected Attributes inherited from ModelForm
 $model
 

Detailed Description

Use this form when creating a new email message

Definition at line 40 of file CreateEmailMessageForm.php.

Member Function Documentation

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:
Generated on Wed Sep 30 2020 07:10:44
Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.