WorkflowActionsUtil Class Reference

Static Public Member Functions

static processBeforeSave (Workflow $workflow, RedBeanModel $model, User $triggeredByUser)
static processAfterSave (Workflow $workflow, RedBeanModel $model, User $triggeredByUser)
static processOnByTimeWorkflowInQueueJob (Workflow $workflow, RedBeanModel $model, User $triggeredByUser)
static getWorkflowsMissingRequiredActionAttributes ()

Detailed Description

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

Definition at line 40 of file WorkflowActionsUtil.php.


Member Function Documentation

static processBeforeSave ( Workflow workflow,
RedBeanModel model,
User triggeredByUser 
) [static]

Process any workflow actions that are updates to the passed in model.

Parameters:
Workflow $workflow
RedBeanModel $model
User $triggeredByUser

Definition at line 48 of file WorkflowActionsUtil.php.

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

Process any workflow actions that are updating related models, or creating new models.

Parameters:
Workflow $workflow
RedBeanModel $model
User $triggeredByUser
Exceptions:
NotSupportedException 

Definition at line 74 of file WorkflowActionsUtil.php.

static processOnByTimeWorkflowInQueueJob ( Workflow workflow,
RedBeanModel model,
User triggeredByUser 
) [static]

Process any workflow actions that are updates to the passed in model during the processing of any ByTimeWorkflowQueue models.

See also:
ByTimeWorkflowInQueueJob.
Parameters:
Workflow $workflow
RedBeanModel $model
User $triggeredByUser
Exceptions:
FailedToSaveModelException 

Definition at line 101 of file WorkflowActionsUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Sep 25 07:10:31 2017