WorkflowEmailMessagesUtil Class Reference

Static Public Member Functions

static processAfterSave (Workflow $workflow, RedBeanModel $model, User $triggeredByUser)
static processOnWorkflowMessageInQueueJob (EmailMessageForWorkflowForm $emailMessageForWorkflowForm, RedBeanModel $model, User $triggeredByUser)
static makeEmailMessageForWorkflowFormByQueueModelAndWorkflow (WorkflowMessageInQueue $workflowMessageInQueue, Workflow $workflow)

Static Protected Member Functions

static processEmailMessageAfterSave (Workflow $workflow, EmailMessageForWorkflowForm $emailMessage, RedBeanModel $model, User $triggeredByUser)

Detailed Description

Helper class for working with Workflow objects and processing the email messages that are triggered on a model

Definition at line 40 of file WorkflowEmailMessagesUtil.php.


Member Function Documentation

static processAfterSave ( Workflow workflow,
RedBeanModel model,
User triggeredByUser 
) [static]
Parameters:
Workflow $workflow
RedBeanModel $model
User $triggeredByUser

Definition at line 47 of file WorkflowEmailMessagesUtil.php.

static processOnWorkflowMessageInQueueJob ( EmailMessageForWorkflowForm emailMessageForWorkflowForm,
RedBeanModel model,
User triggeredByUser 
) [static]
Parameters:
EmailMessageForWorkflowForm $emailMessageForWorkflowForm
RedBeanModel $model
User $triggeredByUser

Definition at line 71 of file WorkflowEmailMessagesUtil.php.

static processEmailMessageAfterSave ( Workflow workflow,
EmailMessageForWorkflowForm emailMessage,
RedBeanModel model,
User triggeredByUser 
) [static, protected]
Parameters:
Workflow $workflow
EmailMessageForWorkflowForm $emailMessage
RedBeanModel $model
User $triggeredByUser
Exceptions:
FailedToSaveModelException 

Definition at line 96 of file WorkflowEmailMessagesUtil.php.

static makeEmailMessageForWorkflowFormByQueueModelAndWorkflow ( WorkflowMessageInQueue workflowMessageInQueue,
Workflow workflow 
) [static]
Parameters:
WorkflowMessageInQueue $workflowMessageInQueue
Workflow $workflow
Returns:
EmailMessageForWorkflowForm

Definition at line 131 of file WorkflowEmailMessagesUtil.php.


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