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/activities/class.ilEventRaisingActivity.php';
5 require_once
'./Services/WorkflowEngine/classes/emitters/class.ilActivationEmitter.php';
6 require_once
'./Services/WorkflowEngine/classes/detectors/class.ilSimpleDetector.php';
17 $this->
addNode($_v_StartEvent_1);
18 $_v_StartEvent_1->setName(
'$_v_StartEvent_1');
24 $_v_EndEvent_2->setName(
'$_v_EndEvent_2');
27 $_v_EndEvent_2_throwEventActivity->setName(
'$_v_EndEvent_2_throwEventActivity');
28 $_v_EndEvent_2_throwEventActivity->setEventType(
"Course");
29 $_v_EndEvent_2_throwEventActivity->setEventName(
"UserWasAssigned");
30 $_v_EndEvent_2->addActivity($_v_EndEvent_2_throwEventActivity);
33 $_v_EndEvent_2_detector->setName(
'$_v_EndEvent_2_detector');
34 $_v_EndEvent_2_detector->setSourceNode($_v_StartEvent_1);
35 $_v_EndEvent_2->addDetector($_v_EndEvent_2_detector);
37 $_v_StartEvent_1_emitter->setName(
'$_v_StartEvent_1_emitter');
38 $_v_StartEvent_1_emitter->setTargetDetector($_v_EndEvent_2_detector);
39 $_v_StartEvent_1->addEmitter($_v_StartEvent_1_emitter);
50 return $definitions[
$id];
if(!array_key_exists('StateId', $_REQUEST)) $id
addNode(ilNode $node)
This method adds a node to the workflow.
Create styles array
The data for the language used.
static $startEventRequired
static getMessageDefinition($id)
setStartNode(ilNode $node)
Sets the start node of the workflow.