All Data Structures Functions Variables Pages
Public Member Functions | Data Fields | Protected Member Functions | Static Protected Member Functions
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
 
 $excludeIfTriggeredByUser = false
 

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 154 of file EmailMessageForWorkflowForm.php.

Member Function Documentation

static resolveErrorAttributePrefix (   $attributeName)
staticprotected
Parameters
$attributeNamestring
Returns
string

Definition at line 124 of file EmailMessageForWorkflowForm.php.

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

Definition at line 134 of file EmailMessageForWorkflowForm.php.

getRowKey ( )
Returns
int

Implements RowKeyInterface.

Definition at line 144 of file EmailMessageForWorkflowForm.php.

getEmailMessageRecipientFormsCount ( )
Returns
int

Definition at line 167 of file EmailMessageForWorkflowForm.php.

getEmailMessageRecipients ( )
Returns
array

Definition at line 175 of file EmailMessageForWorkflowForm.php.

getWorkflowType ( )
Returns
string

Definition at line 183 of file EmailMessageForWorkflowForm.php.

getModelClassName ( )
Returns
string

Definition at line 191 of file EmailMessageForWorkflowForm.php.

rules ( )
Returns
array

Definition at line 199 of file EmailMessageForWorkflowForm.php.

attributeLabels ( )
Returns
array

Definition at line 219 of file EmailMessageForWorkflowForm.php.

setAttributes (   $values,
  $safeOnly = true 
)

Process all attributes except 'emailMessageRecipients' first

Parameters
$values
bool$safeOnly
Exceptions
NotSupportedExceptionif the post values data is malformed

Definition at line 236 of file EmailMessageForWorkflowForm.php.

validateSendFromType ( )
Returns
bool

Definition at line 273 of file EmailMessageForWorkflowForm.php.

beforeValidate ( )
Returns
bool

Definition at line 301 of file EmailMessageForWorkflowForm.php.

validateRecipients ( )
Returns
bool

Definition at line 313 of file EmailMessageForWorkflowForm.php.

getSendFromTypeValuesAndLabels ( )
Returns
array

Definition at line 341 of file EmailMessageForWorkflowForm.php.

resolveTemporaryKeyByRealKey (   $key)
protected
Parameters
$key
Returns
integer

Definition at line 355 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:
Generated on Tue Jun 2 2020 07:10:45