EmailMessageForWorkflowForm Class Reference

Inheritance diagram for EmailMessageForWorkflowForm:
ConfigurableMetadataModel RowKeyInterface

Public Member Functions

 resolveNewTimeStampForDuration ($initialTimeStamp)
 getRowKey ()
 __construct ($modelClassName, $workflowType, $rowKey=0)
 getEmailMessageRecipientFormsCount ()
 getEmailMessageRecipients ()
 getWorkflowType ()
 getModelClassName ()
 rules ()
 attributeLabels ()
 setAttributes ($values, $safeOnly=true)
 validateSendFromType ()
 beforeValidate ()
 validateRecipients ()
 getSendFromTypeValuesAndLabels ()

Data Fields

const SEND_FROM_TYPE_DEFAULT = 'Default'
const SEND_FROM_TYPE_CUSTOM = 'Custom'
const SEND_FROM_TYPE_TRIGGERED_MODEL_OWNER = 'TriggeredModelOwner'
const TYPE_EMAIL_MESSAGE_RECIPIENTS = 'EmailMessageRecipients'
const EMAIL_MESSAGE_RECIPIENTS = 'EmailMessageRecipients'
 $emailTemplateId
 $sendAfterDurationInterval
 $sendAfterDurationType = TimeDurationUtil::DURATION_TYPE_DAY
 $sendFromType
 $sendFromName
 $sendFromAddress

Protected Member Functions

 resolveTemporaryKeyByRealKey ($key)

Static Protected Member Functions

static resolveErrorAttributePrefix ($attributeName)

Detailed Description

Class that defines the email messages used for a workflow

Definition at line 40 of file EmailMessageForWorkflowForm.php.


Constructor & Destructor Documentation

__construct ( modelClassName,
workflowType,
rowKey = 0 
)
Parameters:
string $modelClassName
string $workflowType
int $rowKey

Definition at line 149 of file EmailMessageForWorkflowForm.php.


Member Function Documentation

static resolveErrorAttributePrefix ( attributeName  )  [static, protected]
Parameters:
$attributeName string
Returns:
string

Definition at line 119 of file EmailMessageForWorkflowForm.php.

resolveNewTimeStampForDuration ( initialTimeStamp  ) 
Parameters:
integer $initialTimeStamp
Returns:
integer timestamp based on durationInterval, durationSign, and durationType

Definition at line 129 of file EmailMessageForWorkflowForm.php.

getRowKey (  ) 
Returns:
int

Implements RowKeyInterface.

Definition at line 139 of file EmailMessageForWorkflowForm.php.

getEmailMessageRecipientFormsCount (  ) 
Returns:
int

Definition at line 162 of file EmailMessageForWorkflowForm.php.

getEmailMessageRecipients (  ) 
Returns:
array

Definition at line 170 of file EmailMessageForWorkflowForm.php.

getWorkflowType (  ) 
Returns:
string

Definition at line 178 of file EmailMessageForWorkflowForm.php.

getModelClassName (  ) 
Returns:
string

Definition at line 186 of file EmailMessageForWorkflowForm.php.

rules (  ) 
Returns:
array

Definition at line 194 of file EmailMessageForWorkflowForm.php.

attributeLabels (  ) 
Returns:
array

Definition at line 213 of file EmailMessageForWorkflowForm.php.

setAttributes ( values,
safeOnly = true 
)

Process all attributes except 'emailMessageRecipients' first

Parameters:
$values 
bool $safeOnly
Exceptions:
NotSupportedException if the post values data is malformed

Definition at line 229 of file EmailMessageForWorkflowForm.php.

validateSendFromType (  ) 
Returns:
bool

Definition at line 262 of file EmailMessageForWorkflowForm.php.

beforeValidate (  ) 
Returns:
bool

Definition at line 290 of file EmailMessageForWorkflowForm.php.

validateRecipients (  ) 
Returns:
bool

Definition at line 302 of file EmailMessageForWorkflowForm.php.

getSendFromTypeValuesAndLabels (  ) 
Returns:
array

Definition at line 330 of file EmailMessageForWorkflowForm.php.

resolveTemporaryKeyByRealKey ( key  )  [protected]
Parameters:
$key 
Returns:
integer

Definition at line 344 of file EmailMessageForWorkflowForm.php.


Field Documentation

const TYPE_EMAIL_MESSAGE_RECIPIENTS = 'EmailMessageRecipients'

Similar to the types defined in ComponentForWorkflowForm like TYPE_EMAIL_MESSAGES.

Definition at line 51 of file EmailMessageForWorkflowForm.php.

const EMAIL_MESSAGE_RECIPIENTS = 'EmailMessageRecipients'

Utilized by arrays to define the element that is for the actionAttributes

Definition at line 56 of file EmailMessageForWorkflowForm.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu Dec 14 07:10:24 2017