WorkflowToWizardFormAdapter Class Reference

Public Member Functions

 __construct (Workflow $workflow)
 makeFormByType ()
 makeOnSaveWizardForm ()
 makeByTimeWizardForm ()

Static Public Member Functions

static getFormClassNameByType ($type)

Protected Member Functions

 setCommonAttributes (WorkflowWizardForm $formModel)

Protected Attributes

 $workflow

Detailed Description

Helper class for adapting a Workflow to a WorkflowWizardForm

Definition at line 40 of file WorkflowToWizardFormAdapter.php.


Constructor & Destructor Documentation

__construct ( Workflow workflow  ) 
Parameters:
Workflow $workflow

Definition at line 72 of file WorkflowToWizardFormAdapter.php.


Member Function Documentation

static getFormClassNameByType ( type  )  [static]
Parameters:
$type 
Returns:
string
Exceptions:
NotSupportedException if the type is invalid or null

Definition at line 52 of file WorkflowToWizardFormAdapter.php.

makeFormByType (  ) 
Returns:
MatrixWorkflowWizardForm|RowsAndColumnsWorkflowWizardForm|SummationWorkflowWizardForm
Exceptions:
NotSupportedException if the workflow type is invalid or null

Definition at line 81 of file WorkflowToWizardFormAdapter.php.

makeOnSaveWizardForm (  ) 
Returns:
OnSaveWorkflowWizardForm

Definition at line 100 of file WorkflowToWizardFormAdapter.php.

makeByTimeWizardForm (  ) 
Returns:
ByTimeWorkflowWizardForm

Definition at line 110 of file WorkflowToWizardFormAdapter.php.

setCommonAttributes ( WorkflowWizardForm formModel  )  [protected]
Parameters:
WorkflowWizardForm $formModel

Definition at line 120 of file WorkflowToWizardFormAdapter.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Fri Nov 24 07:10:30 2017