Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

DataToWorkflowUtil Class Reference

Static Public Member Functions

static resolveWorkflowByWizardPostData (Workflow $workflow, $postData, $wizardFormClassName)
static resolveTriggers ($data, Workflow $workflow)
static sanitizeTriggersData ($moduleClassName, $workflowType, array $triggersData)
static resolveActions ($data, Workflow $workflow)
static sanitizeActionData ($modelClassName, $actionData, $workflowType)
static resolveEmailMessages ($data, Workflow $workflow)
static resolveTimeTrigger ($data, Workflow $workflow)

Static Protected Member Functions

static sanitizeTriggerData ($moduleClassName, $workflowType, $triggerData)

Detailed Description

Class to work with POST data and adapting that into a Workflow object

Definition at line 40 of file DataToWorkflowUtil.php.


Member Function Documentation

static resolveWorkflowByWizardPostData ( Workflow workflow,
postData,
wizardFormClassName 
) [static]
Parameters:
Workflow $workflow
array $postData
string$wizardFormClassName 

Definition at line 47 of file DataToWorkflowUtil.php.

static resolveTriggers ( data,
Workflow workflow 
) [static]
Parameters:
array $data
Workflow $workflow

Definition at line 90 of file DataToWorkflowUtil.php.

static sanitizeTriggersData ( moduleClassName,
workflowType,
array $  triggersData 
) [static]
Parameters:
string $moduleClassName
string $workflowType
array $triggersData
Returns:
array

Definition at line 118 of file DataToWorkflowUtil.php.

static resolveActions ( data,
Workflow workflow 
) [static]

Public for testing purposes

Parameters:
array $data
Workflow $workflow

Definition at line 135 of file DataToWorkflowUtil.php.

static sanitizeActionData ( modelClassName,
actionData,
workflowType 
) [static]
Parameters:
string $modelClassName
array $actionData
string $workflowType
Returns:
array

Definition at line 164 of file DataToWorkflowUtil.php.

static resolveEmailMessages ( data,
Workflow workflow 
) [static]

Public for testing purposes

Parameters:
array $data
Workflow $workflow

Definition at line 200 of file DataToWorkflowUtil.php.

static resolveTimeTrigger ( data,
Workflow workflow 
) [static]

No need to sanitize for Date and DateTime since those attributes utilize integers for time-based triggers

Parameters:
array $data
Workflow $workflow

Definition at line 226 of file DataToWorkflowUtil.php.

static sanitizeTriggerData ( moduleClassName,
workflowType,
triggerData 
) [static, protected]
Parameters:
string $moduleClassName
string $workflowType
array $triggerData
Returns:
mixed

Definition at line 253 of file DataToWorkflowUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Wed Jun 26 07:11:00 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8