Workflow.
More...
Workflow.
A Workflow manages a series of steps that are needed to fulfill a certain task. You may overwrite this class, e.g. to change the default behaviour that determines the next step.
- Author
- Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e
- Version
- $Id$
Definition at line 13 of file class.ilWorkflow.php.
◆ __construct()
ilWorkflow::__construct |
( |
| ) |
|
◆ addStep()
ilWorkflow::addStep |
( |
|
$a_step | ) |
|
Add a workflow step.
- Parameters
-
Definition at line 49 of file class.ilWorkflow.php.
51 $this->steps[] = $a_step;
◆ determineNextStep()
ilWorkflow::determineNextStep |
( |
| ) |
|
Determine next step.
The standard behaviour looks for the first step that either has not run yet or is not fulfilled.
Definition at line 66 of file class.ilWorkflow.php.
68 foreach ($this->steps as $step)
75 if (!$step->isFulfilled())
◆ getSteps()
◆ getTitle()
◆ setTitle()
ilWorkflow::setTitle |
( |
|
$a_val | ) |
|
◆ $steps
ilWorkflow::$steps = array() |
The documentation for this class was generated from the following file: