DynamicTriggeredModelRelationUserWorkflowEmailMessageRecipientForm Class Reference

Inheritance diagram for DynamicTriggeredModelRelationUserWorkflowEmailMessageRecipientForm:
DynamicTriggeredModelUserWorkflowEmailMessageRecipientForm WorkflowEmailMessageRecipientForm ConfigurableMetadataModel

Public Member Functions

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

Static Public Member Functions

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

Data Fields

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

Protected Member Functions

 resolveModelClassName ()

Detailed Description

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

Definition at line 40 of file DynamicTriggeredModelRelationUserWorkflowEmailMessageRecipientForm.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 DynamicTriggeredModelRelationUserWorkflowEmailMessageRecipientForm.php.

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

Reimplemented from DynamicTriggeredModelUserWorkflowEmailMessageRecipientForm.

Definition at line 160 of file DynamicTriggeredModelRelationUserWorkflowEmailMessageRecipientForm.php.

resolveModelClassName (  )  [protected]

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 47 of file DynamicTriggeredModelRelationUserWorkflowEmailMessageRecipientForm.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sun Jun 25 07:10:24 2017