Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

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  )  [static, protected]
Parameters:
$attributeName string
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:
NotSupportedException if 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:
 All Data Structures Functions Variables
Generated on Mon Mar 25 07:10:51 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8