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

DynamicTriggeredModelRelationWorkflowEmailMessageRecipientForm Class Reference

Inheritance diagram for DynamicTriggeredModelRelationWorkflowEmailMessageRecipientForm:
WorkflowEmailMessageRecipientForm ConfigurableMetadataModel

Public Member Functions

 rules ()
 validateRelationFilter ()
 getRelationValuesAndLabels ()
 makeRecipients (RedBeanModel $model, User $triggeredByUser)
 resolveRecipients (RedBeanModel $model)

Static Public Member Functions

static getTypeLabel ()
static resolveRecipientsAsUniquePeople ($existingRecipients, $newRecipients)

Data Fields

const RELATION_FILTER_ALL = 'RelationFilterAll'
 $relation
 $relationFilter = self::RELATION_FILTER_ALL

Detailed Description

Form to work with dynamic triggered model relation users for an email message recipient

Definition at line 40 of file DynamicTriggeredModelRelationWorkflowEmailMessageRecipientForm.php.


Member Function Documentation

static getTypeLabel (  )  [static]
static resolveRecipientsAsUniquePeople ( existingRecipients,
newRecipients 
) [static]

Public for testing only

Parameters:
array $existingRecipients
array $newRecipients
Returns:
array
Exceptions:
NotSupportedException if the $existingRecipients contains non-unique people

Definition at line 77 of file DynamicTriggeredModelRelationWorkflowEmailMessageRecipientForm.php.

rules (  ) 

Override to add relation attribute

Reimplemented from WorkflowEmailMessageRecipientForm.

Definition at line 116 of file DynamicTriggeredModelRelationWorkflowEmailMessageRecipientForm.php.

validateRelationFilter (  ) 
getRelationValuesAndLabels (  ) 
makeRecipients ( RedBeanModel model,
User triggeredByUser 
)
Parameters:
RedBeanModel $model
User $triggeredByUser
Returns:
array
Exceptions:
NotSupportedException 

Reimplemented from WorkflowEmailMessageRecipientForm.

Definition at line 160 of file DynamicTriggeredModelRelationWorkflowEmailMessageRecipientForm.php.

resolveRecipients ( RedBeanModel model  ) 
Parameters:
RedBeanModel $model
Returns:
array

Definition at line 210 of file DynamicTriggeredModelRelationWorkflowEmailMessageRecipientForm.php.


Field Documentation

const RELATION_FILTER_ALL = 'RelationFilterAll'

When sending email messages on related models, if there are MANY related models RELATION_FILTER_ALL means the action will be performed on all related models

Definition at line 46 of file DynamicTriggeredModelRelationWorkflowEmailMessageRecipientForm.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sat Jan 19 07:10:23 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