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

SequentialProcess Class Reference

Inheritance diagram for SequentialProcess:
ImportSequentialProcess TestSequentialProcess ImportCreateUpdateModelsSequentialProcess ImportDataAnalysisSequentialProcess

Public Member Functions

 getAllStepsMessage ()
 run ($step, $params)
 isComplete ()
 getNextStep ()
 getNextParams ()
 getNextMessage ()
 getCompletionPercentage ()
 getViewClassNameByStep ($step)

Protected Member Functions

 steps ()
 stepMessages ()
 resolveNextInformationByCurrentStep ($step)
 setNextMessageByStep ($step)

Protected Attributes

 $complete = false
 $nextStep
 $nextParams
 $nextMessage
 $completionPercentage
 $subSequenceCompletionPercentage = 0

Detailed Description

Component to run a sequential process. After a step is run, information regarding the next step is populated including any parameters and messages. Sequential processes can also include sub processes. An example would be if a specific step has a loop over models via a data provider.

Definition at line 42 of file SequentialProcess.php.


Member Function Documentation

getAllStepsMessage (  )  [abstract]

Method to get the message that is utilized for all steps in a sequence.

Returns:
string message content.

Reimplemented in TestSequentialProcess, ImportCreateUpdateModelsSequentialProcess, and ImportDataAnalysisSequentialProcess.

steps (  )  [abstract, protected]
Returns:
array of steps in the sequence

Reimplemented in TestSequentialProcess, ImportCreateUpdateModelsSequentialProcess, and ImportDataAnalysisSequentialProcess.

stepMessages (  )  [abstract, protected]

Array indexed by step. The value represents the step specific message.

Returns:
array of step messages.

Reimplemented in TestSequentialProcess, ImportCreateUpdateModelsSequentialProcess, and ImportDataAnalysisSequentialProcess.

run ( step,
params 
)

Given a step, run it and setup for the next step in the process.

Parameters:
string or null $step
array or null $params

Definition at line 109 of file SequentialProcess.php.


Field Documentation

$complete = false [protected]

If all the steps are completed, this is set to true.

Definition at line 64 of file SequentialProcess.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Wed Jan 16 07:10:28 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