All Data Structures Functions Variables Pages
Static Public Member Functions | Static Protected Member Functions
SavedWorkflowToWorkflowAdapter Class Reference

Static Public Member Functions

static makeWorkflowBySavedWorkflow (SavedWorkflow $savedWorkflow)
 
static resolveWorkflowToSavedWorkflow (Workflow $workflow, SavedWorkflow $savedWorkflow)
 
static makeArrayFromEmailMessageForWorkflowFormAttributesData (Array $componentFormsData)
 

Static Protected Member Functions

static makeArrayFromTimeTriggerForWorkflowFormAttributesData (TimeTriggerForWorkflowForm $timeTriggerForWorkflowForm)
 
static makeArrayFromComponentFormsAttributesData (Array $componentFormsData)
 
static makeArrayFromActionForWorkflowFormAttributesData (Array $componentFormsData)
 
static makeComponentFormAndPopulateWorkflowFromData ($componentFormsData, Workflow $workflow, $componentPrefix)
 
static makeActionForWorkflowFormAndPopulateWorkflowFromData ($componentFormsData, Workflow $workflow)
 
static makeEmailMessageForWorkflowFormAndPopulateWorkflowFromData ($componentFormsData, Workflow $workflow)
 

Detailed Description

Helper class to adapt a SavedWorkflow object to a Workflow object and vice-versa

Definition at line 40 of file SavedWorkflowToWorkflowAdapter.php.

Member Function Documentation

static makeWorkflowBySavedWorkflow ( SavedWorkflow  $savedWorkflow)
static
Parameters
SavedWorkflow$savedWorkflow
Returns
Workflow

Definition at line 46 of file SavedWorkflowToWorkflowAdapter.php.

static resolveWorkflowToSavedWorkflow ( Workflow  $workflow,
SavedWorkflow  $savedWorkflow 
)
static
Parameters
Workflow$workflow
SavedWorkflow$savedWorkflow

Definition at line 91 of file SavedWorkflowToWorkflowAdapter.php.

static makeArrayFromEmailMessageForWorkflowFormAttributesData ( Array  $componentFormsData)
static
Parameters
array$componentFormsData
Returns
array

Definition at line 120 of file SavedWorkflowToWorkflowAdapter.php.

static makeArrayFromTimeTriggerForWorkflowFormAttributesData ( TimeTriggerForWorkflowForm  $timeTriggerForWorkflowForm)
staticprotected
Parameters
TimeTriggerForWorkflowForm$timeTriggerForWorkflowForm
Returns
array

Definition at line 146 of file SavedWorkflowToWorkflowAdapter.php.

static makeArrayFromComponentFormsAttributesData ( Array  $componentFormsData)
staticprotected
Parameters
array$componentFormsData
Returns
array

Definition at line 164 of file SavedWorkflowToWorkflowAdapter.php.

static makeArrayFromActionForWorkflowFormAttributesData ( Array  $componentFormsData)
staticprotected
Parameters
array$componentFormsData
Returns
array

Definition at line 181 of file SavedWorkflowToWorkflowAdapter.php.

static makeComponentFormAndPopulateWorkflowFromData (   $componentFormsData,
Workflow  $workflow,
  $componentPrefix 
)
staticprotected
Parameters
array$componentFormsData
Workflow$workflow
string$componentPrefix

Definition at line 206 of file SavedWorkflowToWorkflowAdapter.php.

static makeActionForWorkflowFormAndPopulateWorkflowFromData (   $componentFormsData,
Workflow  $workflow 
)
staticprotected
Parameters
array$componentFormsData
Workflow$workflow

Definition at line 230 of file SavedWorkflowToWorkflowAdapter.php.

static makeEmailMessageForWorkflowFormAndPopulateWorkflowFromData (   $componentFormsData,
Workflow  $workflow 
)
staticprotected
Parameters
array$componentFormsData
Workflow$workflow

Definition at line 250 of file SavedWorkflowToWorkflowAdapter.php.


The documentation for this class was generated from the following file:
Generated on Sun Jan 26 2020 07:10:43