18 $this->
defineInstanceVar(
"DataInput_1",
"dataInput",
false,
"",
"mixed",
"undefined" );
22 $this->
addNode($_v_StartEvent_1);
23 $_v_StartEvent_1->setName(
'$_v_StartEvent_1');
28 $this->
addNode($_v_CallActivity_1);
29 $_v_CallActivity_1->setName(
'$_v_CallActivity_1');
32 $_v_CallActivity_1_callActivity->setName(
'$_v_CallActivity_1_callActivity');
33 $_v_CallActivity_1_callActivity->setIncludeFilename(
"Services/WorkflowEngine/test/parser/006_Task/class.test_006_Task.php");
34 $_v_CallActivity_1_callActivity->setClassAndMethodName(
"test_006_Task::requestList");
35 $_v_CallActivity_1_callActivity_params =
array(
"DataInput_1");
36 $_v_CallActivity_1_callActivity->setParameters($_v_CallActivity_1_callActivity_params);
37 $_v_CallActivity_1_callActivity_outputs =
array(
"DataObjectReference_1");
38 $_v_CallActivity_1_callActivity->setOutputs($_v_CallActivity_1_callActivity_outputs);
39 $_v_CallActivity_1->addActivity($_v_CallActivity_1_callActivity);
41 $_v_CallActivity_1_inputDataDetector =
new ilDataDetector($_v_CallActivity_1);
42 $_v_CallActivity_1_inputDataDetector->setVarName(
"DataInput_1");
43 $_v_CallActivity_1_inputDataDetector->setName($_v_CallActivity_1_inputDataDetector);
44 $_v_CallActivity_1->addDetector($_v_CallActivity_1_inputDataDetector);
46 $_v_CallActivity_1_outputDataEmitter =
new ilDataEmitter($_v_CallActivity_1);
47 $_v_CallActivity_1_outputDataEmitter->setVarName(
"DataObjectReference_1");
48 $_v_CallActivity_1_outputDataEmitter->setName($_v_CallActivity_1_outputDataEmitter);
49 $_v_CallActivity_1->addEmitter($_v_CallActivity_1_outputDataEmitter);
51 $this->
defineInstanceVar(
"DataObject_1",
"dataObject",
false,
"",
"mixed",
"undefined" );
55 $_v_EndEvent_1->setName(
'$_v_EndEvent_1');
57 $this->
defineInstanceVar(
"DataObjectReference_1",
"dataObjectReference",
true,
"DataObject_1" );
60 $_v_EndEvent_1_detector->setName(
'$_v_EndEvent_1_detector');
61 $_v_EndEvent_1_detector->setSourceNode($_v_CallActivity_1);
62 $_v_EndEvent_1->addDetector($_v_EndEvent_1_detector);
64 $_v_CallActivity_1_emitter->setName(
'$_v_CallActivity_1_emitter');
65 $_v_CallActivity_1_emitter->setTargetDetector($_v_EndEvent_1_detector);
66 $_v_CallActivity_1->addEmitter($_v_CallActivity_1_emitter);
69 $_v_CallActivity_1_detector->setName(
'$_v_CallActivity_1_detector');
70 $_v_CallActivity_1_detector->setSourceNode($_v_StartEvent_1);
71 $_v_CallActivity_1->addDetector($_v_CallActivity_1_detector);
73 $_v_StartEvent_1_emitter->setName(
'$_v_StartEvent_1_emitter');
74 $_v_StartEvent_1_emitter->setTargetDetector($_v_CallActivity_1_detector);
75 $_v_StartEvent_1->addEmitter($_v_StartEvent_1_emitter);
addNode(ilNode $node)
This method adds a node to the workflow.
defineInstanceVar( $id, $name, $reference=false, $reference_target='', $type='mixed', $role='undefined')
Create styles array
The data for the language used.
registerInputVar($name, $definition)
setStartNode(ilNode $node)
Sets the start node of the workflow.