Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.
 All Data Structures Functions Variables Pages
Static Public Member Functions
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 75 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 103 of file WorkflowActionsUtil.php.


The documentation for this class was generated from the following file:
Generated on Mon Aug 3 2020 07:11:07
Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.