2 require_once
'./Services/WorkflowEngine/classes/workflows/class.ilBaseWorkflow.php';
3 require_once
'./Services/WorkflowEngine/classes/nodes/class.ilBasicNode.php';
4 require_once
'./Services/WorkflowEngine/classes/emitters/class.ilActivationEmitter.php';
5 require_once
'./Services/WorkflowEngine/classes/detectors/class.ilSimpleDetector.php';
16 $this->
addNode($_v_StartEvent_1);
17 $_v_StartEvent_1->setName(
'$_v_StartEvent_1');
23 $_v_EndEvent_1->setName(
'$_v_EndEvent_1');
26 $_v_EndEvent_1_detector->setName(
'$_v_EndEvent_1_detector');
27 $_v_EndEvent_1_detector->setSourceNode($_v_StartEvent_1);
28 $_v_EndEvent_1->addDetector($_v_EndEvent_1_detector);
30 $_v_StartEvent_1_emitter->setName(
'$_v_StartEvent_1_emitter');
31 $_v_StartEvent_1_emitter->setTargetDetector($_v_EndEvent_1_detector);
32 $_v_StartEvent_1->addEmitter($_v_StartEvent_1_emitter);
addNode(ilNode $node)
This method adds a node to the workflow.
setStartNode(ilNode $node)
Sets the start node of the workflow.
static $startEventRequired