ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
Booking_System_FullDiagram_goldsample.php
Go to the documentation of this file.
1 <?php
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/detectors/class.ilEventDetector.php';
5 require_once './Services/WorkflowEngine/classes/nodes/class.ilCaseNode.php';
6 require_once './Services/WorkflowEngine/classes/activities/class.ilScriptActivity.php';
7 require_once './Services/WorkflowEngine/classes/emitters/class.ilActivationEmitter.php';
8 require_once './Services/WorkflowEngine/classes/detectors/class.ilSimpleDetector.php';
9 
11  {
12 
13  public static $startEventRequired = true;
14 
15  public static function getStartEventInfo()
16  {
17  $events[] = array(
18  'type' => '',
19  'content' => '',
20  'subject_type' => '',
21  'subject_id' => '',
22  'context_type' => '',
23  'context_id' => '',
24  );
25 
26  $events[] = array(
27  'type' => '',
28  'content' => '',
29  'subject_type' => '',
30  'subject_id' => '',
31  'context_type' => '',
32  'context_id' => '',
33  );
34 
35  $events[] = array(
36  'type' => '',
37  'content' => '',
38  'subject_type' => '',
39  'subject_id' => '',
40  'context_type' => '',
41  'context_id' => '',
42  );
43 
44  $events[] = array(
45  'type' => '',
46  'content' => '',
47  'subject_type' => '',
48  'subject_id' => '',
49  'context_type' => '',
50  'context_id' => '',
51  );
52 
53  $events[] = array(
54  'type' => '',
55  'content' => '',
56  'subject_type' => '',
57  'subject_id' => '',
58  'context_type' => '',
59  'context_id' => '',
60  );
61 
62  $events[] = array(
63  'type' => '',
64  'content' => '',
65  'subject_type' => '',
66  'subject_id' => '',
67  'context_type' => '',
68  'context_id' => '',
69  );
70 
71  return $events;
72  }
73 
74  public function __construct()
75  {
76 
77  $_v_StartEvent_2 = new ilBasicNode($this);
78  $this->addNode($_v_StartEvent_2);
79  $_v_StartEvent_2->setName('$_v_StartEvent_2');
80 
81  $_v_StartEvent_2_detector = new ilEventDetector($_v_StartEvent_2);
82  $_v_StartEvent_2_detector->setName('$_v_StartEvent_2_detector');
83  $_v_StartEvent_2_detector->setEvent( "", "");
84  $_v_StartEvent_2_detector->setEventSubject( "", "");
85  $_v_StartEvent_2_detector->setEventContext( "", "");
86 
87  $this->defineInstanceVar("DataObject_1","dataObject", false, "", "mixed", "undefined" );
88 
89  $this->defineInstanceVar("DataObject_2","dataObject", false, "", "mixed", "undefined" );
90 
91  $_v_ServiceTask_1 = new ilBasicNode($this);
92  $this->addNode($_v_ServiceTask_1);
93  $_v_ServiceTask_1->setName('$_v_ServiceTask_1');
94 
95  $_v_ExclusiveGateway_1 = new ilCaseNode($this);
96  $_v_ExclusiveGateway_1->setName('$_v_ExclusiveGateway_1');
97  $_v_ExclusiveGateway_1->setIsExclusiveJoin(true);
98  $this->addNode($_v_ExclusiveGateway_1);
99 
100  $_v_SendTask_1 = new ilBasicNode($this);
101  $this->addNode($_v_SendTask_1);
102  $_v_SendTask_1->setName('$_v_SendTask_1');
103 
104  $_v_ServiceTask_2 = new ilBasicNode($this);
105  $this->addNode($_v_ServiceTask_2);
106  $_v_ServiceTask_2->setName('$_v_ServiceTask_2');
107 
108  $this->defineInstanceVar("DataObject_3","dataObject", false, "", "mixed", "undefined" );
109 
110  $_v_SendTask_2 = new ilBasicNode($this);
111  $this->addNode($_v_SendTask_2);
112  $_v_SendTask_2->setName('$_v_SendTask_2');
113 
114  $_v_ExclusiveGateway_3 = new ilCaseNode($this);
115  $_v_ExclusiveGateway_3->setName('$_v_ExclusiveGateway_3');
116  $_v_ExclusiveGateway_3->setIsExclusiveJoin(true);
117  $this->addNode($_v_ExclusiveGateway_3);
118 
119  $_v_EndEvent_3 = new ilBasicNode($this);
120  $this->addNode($_v_EndEvent_3);
121  $_v_EndEvent_3->setName('$_v_EndEvent_3');
122 
123  $_v_StartEvent_3 = new ilBasicNode($this);
124  $this->addNode($_v_StartEvent_3);
125  $_v_StartEvent_3->setName('$_v_StartEvent_3');
126 
127  $_v_StartEvent_3_detector = new ilEventDetector($_v_StartEvent_3);
128  $_v_StartEvent_3_detector->setName('$_v_StartEvent_3_detector');
129  $_v_StartEvent_3_detector->setEvent( "", "");
130  $_v_StartEvent_3_detector->setEventSubject( "", "");
131  $_v_StartEvent_3_detector->setEventContext( "", "");
132 
133  $_v_ScriptTask_1 = new ilBasicNode($this);
134  $this->addNode($_v_ScriptTask_1);
135  $_v_ScriptTask_1->setName('$_v_ScriptTask_1');
136 
137  $_v_ScriptTask_1_scriptActivity = new ilScriptActivity($_v_ScriptTask_1);
138  $_v_ScriptTask_1_scriptActivity->setName('$_v_ScriptTask_1');
139  $_v_ScriptTask_1_scriptActivity->setMethod('_v_ScriptTask_1_script');
140  $_v_ScriptTask_1->addActivity($_v_ScriptTask_1_scriptActivity);
141 
142  $_v_SendTask_3 = new ilBasicNode($this);
143  $this->addNode($_v_SendTask_3);
144  $_v_SendTask_3->setName('$_v_SendTask_3');
145 
146  $_v_EndEvent_4 = new ilBasicNode($this);
147  $this->addNode($_v_EndEvent_4);
148  $_v_EndEvent_4->setName('$_v_EndEvent_4');
149 
150  $_v_StartEvent_4 = new ilBasicNode($this);
151  $this->addNode($_v_StartEvent_4);
152  $_v_StartEvent_4->setName('$_v_StartEvent_4');
153 
154  $_v_StartEvent_4_detector = new ilEventDetector($_v_StartEvent_4);
155  $_v_StartEvent_4_detector->setName('$_v_StartEvent_4_detector');
156  $_v_StartEvent_4_detector->setEvent( "", "");
157  $_v_StartEvent_4_detector->setEventSubject( "", "");
158  $_v_StartEvent_4_detector->setEventContext( "", "");
159 
160  $_v_ScriptTask_2 = new ilBasicNode($this);
161  $this->addNode($_v_ScriptTask_2);
162  $_v_ScriptTask_2->setName('$_v_ScriptTask_2');
163 
164  $_v_ScriptTask_2_scriptActivity = new ilScriptActivity($_v_ScriptTask_2);
165  $_v_ScriptTask_2_scriptActivity->setName('$_v_ScriptTask_2');
166  $_v_ScriptTask_2_scriptActivity->setMethod('_v_ScriptTask_2_script');
167  $_v_ScriptTask_2->addActivity($_v_ScriptTask_2_scriptActivity);
168 
169  $_v_SendTask_4 = new ilBasicNode($this);
170  $this->addNode($_v_SendTask_4);
171  $_v_SendTask_4->setName('$_v_SendTask_4');
172 
173  $_v_IntermediateThrowEvent_1 = new ilBasicNode($this);
174  $this->addNode($_v_IntermediateThrowEvent_1);
175  $_v_IntermediateThrowEvent_1->setName('$_v_IntermediateThrowEvent_1');
176 
177  $_v_EndEvent_6 = new ilBasicNode($this);
178  $this->addNode($_v_EndEvent_6);
179  $_v_EndEvent_6->setName('$_v_EndEvent_6');
180 
181  $_v_StartEvent_5 = new ilBasicNode($this);
182  $this->addNode($_v_StartEvent_5);
183  $_v_StartEvent_5->setName('$_v_StartEvent_5');
184 
185  $_v_StartEvent_5_detector = new ilEventDetector($_v_StartEvent_5);
186  $_v_StartEvent_5_detector->setName('$_v_StartEvent_5_detector');
187  $_v_StartEvent_5_detector->setEvent( "", "");
188  $_v_StartEvent_5_detector->setEventSubject( "", "");
189  $_v_StartEvent_5_detector->setEventContext( "", "");
190 
191  $_v_ScriptTask_3 = new ilBasicNode($this);
192  $this->addNode($_v_ScriptTask_3);
193  $_v_ScriptTask_3->setName('$_v_ScriptTask_3');
194 
195  $_v_ScriptTask_3_scriptActivity = new ilScriptActivity($_v_ScriptTask_3);
196  $_v_ScriptTask_3_scriptActivity->setName('$_v_ScriptTask_3');
197  $_v_ScriptTask_3_scriptActivity->setMethod('_v_ScriptTask_3_script');
198  $_v_ScriptTask_3->addActivity($_v_ScriptTask_3_scriptActivity);
199 
200  $_v_ExclusiveGateway_4 = new ilCaseNode($this);
201  $_v_ExclusiveGateway_4->setName('$_v_ExclusiveGateway_4');
202  $_v_ExclusiveGateway_4->setIsExclusiveJoin(true);
203  $this->addNode($_v_ExclusiveGateway_4);
204 
205  $_v_ScriptTask_5 = new ilBasicNode($this);
206  $this->addNode($_v_ScriptTask_5);
207  $_v_ScriptTask_5->setName('$_v_ScriptTask_5');
208 
209  $_v_ScriptTask_5_scriptActivity = new ilScriptActivity($_v_ScriptTask_5);
210  $_v_ScriptTask_5_scriptActivity->setName('$_v_ScriptTask_5');
211  $_v_ScriptTask_5_scriptActivity->setMethod('_v_ScriptTask_5_script');
212  $_v_ScriptTask_5->addActivity($_v_ScriptTask_5_scriptActivity);
213 
214  $_v_SendTask_5 = new ilBasicNode($this);
215  $this->addNode($_v_SendTask_5);
216  $_v_SendTask_5->setName('$_v_SendTask_5');
217 
218  $_v_ExclusiveGateway_5 = new ilCaseNode($this);
219  $_v_ExclusiveGateway_5->setName('$_v_ExclusiveGateway_5');
220  $_v_ExclusiveGateway_5->setIsExclusiveJoin(true);
221  $this->addNode($_v_ExclusiveGateway_5);
222 
223  $_v_EndEvent_7 = new ilBasicNode($this);
224  $this->addNode($_v_EndEvent_7);
225  $_v_EndEvent_7->setName('$_v_EndEvent_7');
226 
227  $_v_StartEvent_6 = new ilBasicNode($this);
228  $this->addNode($_v_StartEvent_6);
229  $_v_StartEvent_6->setName('$_v_StartEvent_6');
230 
231  $_v_StartEvent_6_detector = new ilEventDetector($_v_StartEvent_6);
232  $_v_StartEvent_6_detector->setName('$_v_StartEvent_6_detector');
233  $_v_StartEvent_6_detector->setEvent( "", "");
234  $_v_StartEvent_6_detector->setEventSubject( "", "");
235  $_v_StartEvent_6_detector->setEventContext( "", "");
236 
237  $this->defineInstanceVar("DataObject_4","dataObject", false, "", "mixed", "undefined" );
238 
239  $_v_IntermediateCatchEvent_1 = new ilBasicNode($this);
240  $this->addNode($_v_IntermediateCatchEvent_1);
241  $_v_IntermediateCatchEvent_1->setName('$_v_IntermediateCatchEvent_1');
242 
243  $_v_IntermediateCatchEvent_1_detector = new ilEventDetector($_v_IntermediateCatchEvent_1);
244  $_v_IntermediateCatchEvent_1_detector->setName('$_v_IntermediateCatchEvent_1_detector');
245  $_v_IntermediateCatchEvent_1_detector->setEvent( "time_passed", "time_passed");
246  $_v_IntermediateCatchEvent_1_detector->setEventSubject( "none", "0");
247  $_v_IntermediateCatchEvent_1_detector->setEventContext( "none", "0");
248  $_v_IntermediateCatchEvent_1_detector->setListeningTimeframe(0, 0);
249  $_v_IntermediateCatchEvent_1->addDetector($_v_IntermediateCatchEvent_1_detector);
250 
251  $_v_ExclusiveGateway_6 = new ilCaseNode($this);
252  $_v_ExclusiveGateway_6->setName('$_v_ExclusiveGateway_6');
253  $_v_ExclusiveGateway_6->setIsExclusiveJoin(true);
254  $this->addNode($_v_ExclusiveGateway_6);
255 
256  $_v_SendTask_6 = new ilBasicNode($this);
257  $this->addNode($_v_SendTask_6);
258  $_v_SendTask_6->setName('$_v_SendTask_6');
259 
260  $_v_ExclusiveGateway_7 = new ilCaseNode($this);
261  $_v_ExclusiveGateway_7->setName('$_v_ExclusiveGateway_7');
262  $_v_ExclusiveGateway_7->setIsExclusiveJoin(true);
263  $this->addNode($_v_ExclusiveGateway_7);
264 
265  $_v_EndEvent_9 = new ilBasicNode($this);
266  $this->addNode($_v_EndEvent_9);
267  $_v_EndEvent_9->setName('$_v_EndEvent_9');
268 
269  $_v_StartEvent_7 = new ilBasicNode($this);
270  $this->addNode($_v_StartEvent_7);
271  $_v_StartEvent_7->setName('$_v_StartEvent_7');
272 
273  $_v_StartEvent_7_detector = new ilEventDetector($_v_StartEvent_7);
274  $_v_StartEvent_7_detector->setName('$_v_StartEvent_7_detector');
275  $_v_StartEvent_7_detector->setEvent( "", "");
276  $_v_StartEvent_7_detector->setEventSubject( "", "");
277  $_v_StartEvent_7_detector->setEventContext( "", "");
278 
279  $_v_SendTask_7 = new ilBasicNode($this);
280  $this->addNode($_v_SendTask_7);
281  $_v_SendTask_7->setName('$_v_SendTask_7');
282 
283  $_v_ScriptTask_7 = new ilBasicNode($this);
284  $this->addNode($_v_ScriptTask_7);
285  $_v_ScriptTask_7->setName('$_v_ScriptTask_7');
286 
287  $_v_ScriptTask_7_scriptActivity = new ilScriptActivity($_v_ScriptTask_7);
288  $_v_ScriptTask_7_scriptActivity->setName('$_v_ScriptTask_7');
289  $_v_ScriptTask_7_scriptActivity->setMethod('_v_ScriptTask_7_script');
290  $_v_ScriptTask_7->addActivity($_v_ScriptTask_7_scriptActivity);
291 
292  $_v_ScriptTask_8 = new ilBasicNode($this);
293  $this->addNode($_v_ScriptTask_8);
294  $_v_ScriptTask_8->setName('$_v_ScriptTask_8');
295 
296  $_v_ScriptTask_8_scriptActivity = new ilScriptActivity($_v_ScriptTask_8);
297  $_v_ScriptTask_8_scriptActivity->setName('$_v_ScriptTask_8');
298  $_v_ScriptTask_8_scriptActivity->setMethod('_v_ScriptTask_8_script');
299  $_v_ScriptTask_8->addActivity($_v_ScriptTask_8_scriptActivity);
300 
301  $_v_ParallelGateway_1 = new ilBasicNode($this);
302  $_v_ParallelGateway_1->setName('$_v_ParallelGateway_1');
303  $this->addNode($_v_ParallelGateway_1);
304 
305  $_v_SendTask_8 = new ilBasicNode($this);
306  $this->addNode($_v_SendTask_8);
307  $_v_SendTask_8->setName('$_v_SendTask_8');
308 
309  $_v_InclusiveGateway_1 = new ilCaseNode($this);
310  $_v_InclusiveGateway_1->setName('$_v_InclusiveGateway_1');
311  $this->addNode($_v_InclusiveGateway_1);
312 
313  $_v_EndEvent_10 = new ilBasicNode($this);
314  $this->addNode($_v_EndEvent_10);
315  $_v_EndEvent_10->setName('$_v_EndEvent_10');
316 
317  $_v_ServiceTask_1_detector = new ilSimpleDetector($_v_ServiceTask_1);
318  $_v_ServiceTask_1_detector->setName('$_v_ServiceTask_1_detector');
319  $_v_ServiceTask_1_detector->setSourceNode($_v_StartEvent_2);
320  $_v_ServiceTask_1->addDetector($_v_ServiceTask_1_detector);
321  $_v_StartEvent_2_emitter = new ilActivationEmitter($_v_StartEvent_2);
322  $_v_StartEvent_2_emitter->setName('$_v_StartEvent_2_emitter');
323  $_v_StartEvent_2_emitter->setTargetDetector($_v_ServiceTask_1_detector);
324  $_v_StartEvent_2->addEmitter($_v_StartEvent_2_emitter);
325 
326  $_v_ExclusiveGateway_1_detector = new ilSimpleDetector($_v_ExclusiveGateway_1);
327  $_v_ExclusiveGateway_1_detector->setName('$_v_ExclusiveGateway_1_detector');
328  $_v_ExclusiveGateway_1_detector->setSourceNode($_v_ServiceTask_1);
329  $_v_ExclusiveGateway_1->addDetector($_v_ExclusiveGateway_1_detector);
330  $_v_ServiceTask_1_emitter = new ilActivationEmitter($_v_ServiceTask_1);
331  $_v_ServiceTask_1_emitter->setName('$_v_ServiceTask_1_emitter');
332  $_v_ServiceTask_1_emitter->setTargetDetector($_v_ExclusiveGateway_1_detector);
333  $_v_ServiceTask_1->addEmitter($_v_ServiceTask_1_emitter);
334 
335  $_v_SendTask_1_detector = new ilSimpleDetector($_v_SendTask_1);
336  $_v_SendTask_1_detector->setName('$_v_SendTask_1_detector');
337  $_v_SendTask_1_detector->setSourceNode($_v_ExclusiveGateway_1);
338  $_v_SendTask_1->addDetector($_v_SendTask_1_detector);
339  $_v_ExclusiveGateway_1_emitter = new ilActivationEmitter($_v_ExclusiveGateway_1);
340  $_v_ExclusiveGateway_1_emitter->setName('$_v_ExclusiveGateway_1_emitter');
341  $_v_ExclusiveGateway_1_emitter->setTargetDetector($_v_SendTask_1_detector);
342  $_v_ExclusiveGateway_1->addEmitter($_v_ExclusiveGateway_1_emitter);
343 
344  $_v_ServiceTask_2_detector = new ilSimpleDetector($_v_ServiceTask_2);
345  $_v_ServiceTask_2_detector->setName('$_v_ServiceTask_2_detector');
346  $_v_ServiceTask_2_detector->setSourceNode($_v_ExclusiveGateway_1);
347  $_v_ServiceTask_2->addDetector($_v_ServiceTask_2_detector);
348  $_v_ExclusiveGateway_1_emitter = new ilActivationEmitter($_v_ExclusiveGateway_1);
349  $_v_ExclusiveGateway_1_emitter->setName('$_v_ExclusiveGateway_1_emitter');
350  $_v_ExclusiveGateway_1_emitter->setTargetDetector($_v_ServiceTask_2_detector);
351  $_v_ExclusiveGateway_1->addEmitter($_v_ExclusiveGateway_1_emitter);
352 
353  $_v_SendTask_2_detector = new ilSimpleDetector($_v_SendTask_2);
354  $_v_SendTask_2_detector->setName('$_v_SendTask_2_detector');
355  $_v_SendTask_2_detector->setSourceNode($_v_ServiceTask_2);
356  $_v_SendTask_2->addDetector($_v_SendTask_2_detector);
357  $_v_ServiceTask_2_emitter = new ilActivationEmitter($_v_ServiceTask_2);
358  $_v_ServiceTask_2_emitter->setName('$_v_ServiceTask_2_emitter');
359  $_v_ServiceTask_2_emitter->setTargetDetector($_v_SendTask_2_detector);
360  $_v_ServiceTask_2->addEmitter($_v_ServiceTask_2_emitter);
361 
362  $_v_ExclusiveGateway_3_detector = new ilSimpleDetector($_v_ExclusiveGateway_3);
363  $_v_ExclusiveGateway_3_detector->setName('$_v_ExclusiveGateway_3_detector');
364  $_v_ExclusiveGateway_3_detector->setSourceNode($_v_SendTask_2);
365  $_v_ExclusiveGateway_3->addDetector($_v_ExclusiveGateway_3_detector);
366  $_v_SendTask_2_emitter = new ilActivationEmitter($_v_SendTask_2);
367  $_v_SendTask_2_emitter->setName('$_v_SendTask_2_emitter');
368  $_v_SendTask_2_emitter->setTargetDetector($_v_ExclusiveGateway_3_detector);
369  $_v_SendTask_2->addEmitter($_v_SendTask_2_emitter);
370 
371  $_v_ExclusiveGateway_3_detector = new ilSimpleDetector($_v_ExclusiveGateway_3);
372  $_v_ExclusiveGateway_3_detector->setName('$_v_ExclusiveGateway_3_detector');
373  $_v_ExclusiveGateway_3_detector->setSourceNode($_v_SendTask_1);
374  $_v_ExclusiveGateway_3->addDetector($_v_ExclusiveGateway_3_detector);
375  $_v_SendTask_1_emitter = new ilActivationEmitter($_v_SendTask_1);
376  $_v_SendTask_1_emitter->setName('$_v_SendTask_1_emitter');
377  $_v_SendTask_1_emitter->setTargetDetector($_v_ExclusiveGateway_3_detector);
378  $_v_SendTask_1->addEmitter($_v_SendTask_1_emitter);
379 
380  $_v_ScriptTask_1_detector = new ilSimpleDetector($_v_ScriptTask_1);
381  $_v_ScriptTask_1_detector->setName('$_v_ScriptTask_1_detector');
382  $_v_ScriptTask_1_detector->setSourceNode($_v_StartEvent_3);
383  $_v_ScriptTask_1->addDetector($_v_ScriptTask_1_detector);
384  $_v_StartEvent_3_emitter = new ilActivationEmitter($_v_StartEvent_3);
385  $_v_StartEvent_3_emitter->setName('$_v_StartEvent_3_emitter');
386  $_v_StartEvent_3_emitter->setTargetDetector($_v_ScriptTask_1_detector);
387  $_v_StartEvent_3->addEmitter($_v_StartEvent_3_emitter);
388 
389  $_v_SendTask_3_detector = new ilSimpleDetector($_v_SendTask_3);
390  $_v_SendTask_3_detector->setName('$_v_SendTask_3_detector');
391  $_v_SendTask_3_detector->setSourceNode($_v_ScriptTask_1);
392  $_v_SendTask_3->addDetector($_v_SendTask_3_detector);
393  $_v_ScriptTask_1_emitter = new ilActivationEmitter($_v_ScriptTask_1);
394  $_v_ScriptTask_1_emitter->setName('$_v_ScriptTask_1_emitter');
395  $_v_ScriptTask_1_emitter->setTargetDetector($_v_SendTask_3_detector);
396  $_v_ScriptTask_1->addEmitter($_v_ScriptTask_1_emitter);
397 
398  $_v_EndEvent_4_detector = new ilSimpleDetector($_v_EndEvent_4);
399  $_v_EndEvent_4_detector->setName('$_v_EndEvent_4_detector');
400  $_v_EndEvent_4_detector->setSourceNode($_v_SendTask_3);
401  $_v_EndEvent_4->addDetector($_v_EndEvent_4_detector);
402  $_v_SendTask_3_emitter = new ilActivationEmitter($_v_SendTask_3);
403  $_v_SendTask_3_emitter->setName('$_v_SendTask_3_emitter');
404  $_v_SendTask_3_emitter->setTargetDetector($_v_EndEvent_4_detector);
405  $_v_SendTask_3->addEmitter($_v_SendTask_3_emitter);
406 
407  $_v_ScriptTask_2_detector = new ilSimpleDetector($_v_ScriptTask_2);
408  $_v_ScriptTask_2_detector->setName('$_v_ScriptTask_2_detector');
409  $_v_ScriptTask_2_detector->setSourceNode($_v_StartEvent_4);
410  $_v_ScriptTask_2->addDetector($_v_ScriptTask_2_detector);
411  $_v_StartEvent_4_emitter = new ilActivationEmitter($_v_StartEvent_4);
412  $_v_StartEvent_4_emitter->setName('$_v_StartEvent_4_emitter');
413  $_v_StartEvent_4_emitter->setTargetDetector($_v_ScriptTask_2_detector);
414  $_v_StartEvent_4->addEmitter($_v_StartEvent_4_emitter);
415 
416  $_v_SendTask_4_detector = new ilSimpleDetector($_v_SendTask_4);
417  $_v_SendTask_4_detector->setName('$_v_SendTask_4_detector');
418  $_v_SendTask_4_detector->setSourceNode($_v_ScriptTask_2);
419  $_v_SendTask_4->addDetector($_v_SendTask_4_detector);
420  $_v_ScriptTask_2_emitter = new ilActivationEmitter($_v_ScriptTask_2);
421  $_v_ScriptTask_2_emitter->setName('$_v_ScriptTask_2_emitter');
422  $_v_ScriptTask_2_emitter->setTargetDetector($_v_SendTask_4_detector);
423  $_v_ScriptTask_2->addEmitter($_v_ScriptTask_2_emitter);
424 
425  $_v_IntermediateThrowEvent_1_detector = new ilSimpleDetector($_v_IntermediateThrowEvent_1);
426  $_v_IntermediateThrowEvent_1_detector->setName('$_v_IntermediateThrowEvent_1_detector');
427  $_v_IntermediateThrowEvent_1_detector->setSourceNode($_v_SendTask_4);
428  $_v_IntermediateThrowEvent_1->addDetector($_v_IntermediateThrowEvent_1_detector);
429  $_v_SendTask_4_emitter = new ilActivationEmitter($_v_SendTask_4);
430  $_v_SendTask_4_emitter->setName('$_v_SendTask_4_emitter');
431  $_v_SendTask_4_emitter->setTargetDetector($_v_IntermediateThrowEvent_1_detector);
432  $_v_SendTask_4->addEmitter($_v_SendTask_4_emitter);
433 
434  $_v_EndEvent_6_detector = new ilSimpleDetector($_v_EndEvent_6);
435  $_v_EndEvent_6_detector->setName('$_v_EndEvent_6_detector');
436  $_v_EndEvent_6_detector->setSourceNode($_v_IntermediateThrowEvent_1);
437  $_v_EndEvent_6->addDetector($_v_EndEvent_6_detector);
438  $_v_IntermediateThrowEvent_1_emitter = new ilActivationEmitter($_v_IntermediateThrowEvent_1);
439  $_v_IntermediateThrowEvent_1_emitter->setName('$_v_IntermediateThrowEvent_1_emitter');
440  $_v_IntermediateThrowEvent_1_emitter->setTargetDetector($_v_EndEvent_6_detector);
441  $_v_IntermediateThrowEvent_1->addEmitter($_v_IntermediateThrowEvent_1_emitter);
442 
443  $_v_ExclusiveGateway_4_detector = new ilSimpleDetector($_v_ExclusiveGateway_4);
444  $_v_ExclusiveGateway_4_detector->setName('$_v_ExclusiveGateway_4_detector');
445  $_v_ExclusiveGateway_4_detector->setSourceNode($_v_ScriptTask_3);
446  $_v_ExclusiveGateway_4->addDetector($_v_ExclusiveGateway_4_detector);
447  $_v_ScriptTask_3_emitter = new ilActivationEmitter($_v_ScriptTask_3);
448  $_v_ScriptTask_3_emitter->setName('$_v_ScriptTask_3_emitter');
449  $_v_ScriptTask_3_emitter->setTargetDetector($_v_ExclusiveGateway_4_detector);
450  $_v_ScriptTask_3->addEmitter($_v_ScriptTask_3_emitter);
451 
452  $_v_ScriptTask_5_detector = new ilSimpleDetector($_v_ScriptTask_5);
453  $_v_ScriptTask_5_detector->setName('$_v_ScriptTask_5_detector');
454  $_v_ScriptTask_5_detector->setSourceNode($_v_ExclusiveGateway_4);
455  $_v_ScriptTask_5->addDetector($_v_ScriptTask_5_detector);
456  $_v_ExclusiveGateway_4_emitter = new ilActivationEmitter($_v_ExclusiveGateway_4);
457  $_v_ExclusiveGateway_4_emitter->setName('$_v_ExclusiveGateway_4_emitter');
458  $_v_ExclusiveGateway_4_emitter->setTargetDetector($_v_ScriptTask_5_detector);
459  $_v_ExclusiveGateway_4->addEmitter($_v_ExclusiveGateway_4_emitter);
460 
461  $_v_SendTask_5_detector = new ilSimpleDetector($_v_SendTask_5);
462  $_v_SendTask_5_detector->setName('$_v_SendTask_5_detector');
463  $_v_SendTask_5_detector->setSourceNode($_v_ScriptTask_5);
464  $_v_SendTask_5->addDetector($_v_SendTask_5_detector);
465  $_v_ScriptTask_5_emitter = new ilActivationEmitter($_v_ScriptTask_5);
466  $_v_ScriptTask_5_emitter->setName('$_v_ScriptTask_5_emitter');
467  $_v_ScriptTask_5_emitter->setTargetDetector($_v_SendTask_5_detector);
468  $_v_ScriptTask_5->addEmitter($_v_ScriptTask_5_emitter);
469 
470  $_v_ExclusiveGateway_5_detector = new ilSimpleDetector($_v_ExclusiveGateway_5);
471  $_v_ExclusiveGateway_5_detector->setName('$_v_ExclusiveGateway_5_detector');
472  $_v_ExclusiveGateway_5_detector->setSourceNode($_v_StartEvent_5);
473  $_v_ExclusiveGateway_5->addDetector($_v_ExclusiveGateway_5_detector);
474  $_v_StartEvent_5_emitter = new ilActivationEmitter($_v_StartEvent_5);
475  $_v_StartEvent_5_emitter->setName('$_v_StartEvent_5_emitter');
476  $_v_StartEvent_5_emitter->setTargetDetector($_v_ExclusiveGateway_5_detector);
477  $_v_StartEvent_5->addEmitter($_v_StartEvent_5_emitter);
478 
479  $_v_ScriptTask_3_detector = new ilSimpleDetector($_v_ScriptTask_3);
480  $_v_ScriptTask_3_detector->setName('$_v_ScriptTask_3_detector');
481  $_v_ScriptTask_3_detector->setSourceNode($_v_ExclusiveGateway_5);
482  $_v_ScriptTask_3->addDetector($_v_ScriptTask_3_detector);
483  $_v_ExclusiveGateway_5_emitter = new ilActivationEmitter($_v_ExclusiveGateway_5);
484  $_v_ExclusiveGateway_5_emitter->setName('$_v_ExclusiveGateway_5_emitter');
485  $_v_ExclusiveGateway_5_emitter->setTargetDetector($_v_ScriptTask_3_detector);
486  $_v_ExclusiveGateway_5->addEmitter($_v_ExclusiveGateway_5_emitter);
487 
488  $_v_ExclusiveGateway_5_detector = new ilSimpleDetector($_v_ExclusiveGateway_5);
489  $_v_ExclusiveGateway_5_detector->setName('$_v_ExclusiveGateway_5_detector');
490  $_v_ExclusiveGateway_5_detector->setSourceNode($_v_SendTask_5);
491  $_v_ExclusiveGateway_5->addDetector($_v_ExclusiveGateway_5_detector);
492  $_v_SendTask_5_emitter = new ilActivationEmitter($_v_SendTask_5);
493  $_v_SendTask_5_emitter->setName('$_v_SendTask_5_emitter');
494  $_v_SendTask_5_emitter->setTargetDetector($_v_ExclusiveGateway_5_detector);
495  $_v_SendTask_5->addEmitter($_v_SendTask_5_emitter);
496 
497  $_v_EndEvent_7_detector = new ilSimpleDetector($_v_EndEvent_7);
498  $_v_EndEvent_7_detector->setName('$_v_EndEvent_7_detector');
499  $_v_EndEvent_7_detector->setSourceNode($_v_ExclusiveGateway_4);
500  $_v_EndEvent_7->addDetector($_v_EndEvent_7_detector);
501  $_v_ExclusiveGateway_4_emitter = new ilActivationEmitter($_v_ExclusiveGateway_4);
502  $_v_ExclusiveGateway_4_emitter->setName('$_v_ExclusiveGateway_4_emitter');
503  $_v_ExclusiveGateway_4_emitter->setTargetDetector($_v_EndEvent_7_detector);
504  $_v_ExclusiveGateway_4->addEmitter($_v_ExclusiveGateway_4_emitter);
505 
506  $_v_IntermediateCatchEvent_1_detector = new ilSimpleDetector($_v_IntermediateCatchEvent_1);
507  $_v_IntermediateCatchEvent_1_detector->setName('$_v_IntermediateCatchEvent_1_detector');
508  $_v_IntermediateCatchEvent_1_detector->setSourceNode($_v_StartEvent_6);
509  $_v_IntermediateCatchEvent_1->addDetector($_v_IntermediateCatchEvent_1_detector);
510  $_v_StartEvent_6_emitter = new ilActivationEmitter($_v_StartEvent_6);
511  $_v_StartEvent_6_emitter->setName('$_v_StartEvent_6_emitter');
512  $_v_StartEvent_6_emitter->setTargetDetector($_v_IntermediateCatchEvent_1_detector);
513  $_v_StartEvent_6->addEmitter($_v_StartEvent_6_emitter);
514 
515  $_v_ExclusiveGateway_6_detector = new ilSimpleDetector($_v_ExclusiveGateway_6);
516  $_v_ExclusiveGateway_6_detector->setName('$_v_ExclusiveGateway_6_detector');
517  $_v_ExclusiveGateway_6_detector->setSourceNode($_v_IntermediateCatchEvent_1);
518  $_v_ExclusiveGateway_6->addDetector($_v_ExclusiveGateway_6_detector);
519  $_v_IntermediateCatchEvent_1_emitter = new ilActivationEmitter($_v_IntermediateCatchEvent_1);
520  $_v_IntermediateCatchEvent_1_emitter->setName('$_v_IntermediateCatchEvent_1_emitter');
521  $_v_IntermediateCatchEvent_1_emitter->setTargetDetector($_v_ExclusiveGateway_6_detector);
522  $_v_IntermediateCatchEvent_1->addEmitter($_v_IntermediateCatchEvent_1_emitter);
523 
524  $_v_SendTask_6_detector = new ilSimpleDetector($_v_SendTask_6);
525  $_v_SendTask_6_detector->setName('$_v_SendTask_6_detector');
526  $_v_SendTask_6_detector->setSourceNode($_v_ExclusiveGateway_6);
527  $_v_SendTask_6->addDetector($_v_SendTask_6_detector);
528  $_v_ExclusiveGateway_6_emitter = new ilActivationEmitter($_v_ExclusiveGateway_6);
529  $_v_ExclusiveGateway_6_emitter->setName('$_v_ExclusiveGateway_6_emitter');
530  $_v_ExclusiveGateway_6_emitter->setTargetDetector($_v_SendTask_6_detector);
531  $_v_ExclusiveGateway_6->addEmitter($_v_ExclusiveGateway_6_emitter);
532 
533  $_v_ExclusiveGateway_7_detector = new ilSimpleDetector($_v_ExclusiveGateway_7);
534  $_v_ExclusiveGateway_7_detector->setName('$_v_ExclusiveGateway_7_detector');
535  $_v_ExclusiveGateway_7_detector->setSourceNode($_v_ExclusiveGateway_6);
536  $_v_ExclusiveGateway_7->addDetector($_v_ExclusiveGateway_7_detector);
537  $_v_ExclusiveGateway_6_emitter = new ilActivationEmitter($_v_ExclusiveGateway_6);
538  $_v_ExclusiveGateway_6_emitter->setName('$_v_ExclusiveGateway_6_emitter');
539  $_v_ExclusiveGateway_6_emitter->setTargetDetector($_v_ExclusiveGateway_7_detector);
540  $_v_ExclusiveGateway_6->addEmitter($_v_ExclusiveGateway_6_emitter);
541 
542  $_v_ExclusiveGateway_7_detector = new ilSimpleDetector($_v_ExclusiveGateway_7);
543  $_v_ExclusiveGateway_7_detector->setName('$_v_ExclusiveGateway_7_detector');
544  $_v_ExclusiveGateway_7_detector->setSourceNode($_v_SendTask_6);
545  $_v_ExclusiveGateway_7->addDetector($_v_ExclusiveGateway_7_detector);
546  $_v_SendTask_6_emitter = new ilActivationEmitter($_v_SendTask_6);
547  $_v_SendTask_6_emitter->setName('$_v_SendTask_6_emitter');
548  $_v_SendTask_6_emitter->setTargetDetector($_v_ExclusiveGateway_7_detector);
549  $_v_SendTask_6->addEmitter($_v_SendTask_6_emitter);
550 
551  $_v_EndEvent_9_detector = new ilSimpleDetector($_v_EndEvent_9);
552  $_v_EndEvent_9_detector->setName('$_v_EndEvent_9_detector');
553  $_v_EndEvent_9_detector->setSourceNode($_v_ExclusiveGateway_7);
554  $_v_EndEvent_9->addDetector($_v_EndEvent_9_detector);
555  $_v_ExclusiveGateway_7_emitter = new ilActivationEmitter($_v_ExclusiveGateway_7);
556  $_v_ExclusiveGateway_7_emitter->setName('$_v_ExclusiveGateway_7_emitter');
557  $_v_ExclusiveGateway_7_emitter->setTargetDetector($_v_EndEvent_9_detector);
558  $_v_ExclusiveGateway_7->addEmitter($_v_ExclusiveGateway_7_emitter);
559 
560  $_v_EndEvent_3_detector = new ilSimpleDetector($_v_EndEvent_3);
561  $_v_EndEvent_3_detector->setName('$_v_EndEvent_3_detector');
562  $_v_EndEvent_3_detector->setSourceNode($_v_ExclusiveGateway_3);
563  $_v_EndEvent_3->addDetector($_v_EndEvent_3_detector);
564  $_v_ExclusiveGateway_3_emitter = new ilActivationEmitter($_v_ExclusiveGateway_3);
565  $_v_ExclusiveGateway_3_emitter->setName('$_v_ExclusiveGateway_3_emitter');
566  $_v_ExclusiveGateway_3_emitter->setTargetDetector($_v_EndEvent_3_detector);
567  $_v_ExclusiveGateway_3->addEmitter($_v_ExclusiveGateway_3_emitter);
568 
569  $_v_ScriptTask_7_detector = new ilSimpleDetector($_v_ScriptTask_7);
570  $_v_ScriptTask_7_detector->setName('$_v_ScriptTask_7_detector');
571  $_v_ScriptTask_7_detector->setSourceNode($_v_StartEvent_7);
572  $_v_ScriptTask_7->addDetector($_v_ScriptTask_7_detector);
573  $_v_StartEvent_7_emitter = new ilActivationEmitter($_v_StartEvent_7);
574  $_v_StartEvent_7_emitter->setName('$_v_StartEvent_7_emitter');
575  $_v_StartEvent_7_emitter->setTargetDetector($_v_ScriptTask_7_detector);
576  $_v_StartEvent_7->addEmitter($_v_StartEvent_7_emitter);
577 
578  $_v_ScriptTask_8_detector = new ilSimpleDetector($_v_ScriptTask_8);
579  $_v_ScriptTask_8_detector->setName('$_v_ScriptTask_8_detector');
580  $_v_ScriptTask_8_detector->setSourceNode($_v_ScriptTask_7);
581  $_v_ScriptTask_8->addDetector($_v_ScriptTask_8_detector);
582  $_v_ScriptTask_7_emitter = new ilActivationEmitter($_v_ScriptTask_7);
583  $_v_ScriptTask_7_emitter->setName('$_v_ScriptTask_7_emitter');
584  $_v_ScriptTask_7_emitter->setTargetDetector($_v_ScriptTask_8_detector);
585  $_v_ScriptTask_7->addEmitter($_v_ScriptTask_7_emitter);
586 
587  $_v_ParallelGateway_1_detector = new ilSimpleDetector($_v_ParallelGateway_1);
588  $_v_ParallelGateway_1_detector->setName('$_v_ParallelGateway_1_detector');
589  $_v_ParallelGateway_1_detector->setSourceNode($_v_ScriptTask_8);
590  $_v_ParallelGateway_1->addDetector($_v_ParallelGateway_1_detector);
591  $_v_ScriptTask_8_emitter = new ilActivationEmitter($_v_ScriptTask_8);
592  $_v_ScriptTask_8_emitter->setName('$_v_ScriptTask_8_emitter');
593  $_v_ScriptTask_8_emitter->setTargetDetector($_v_ParallelGateway_1_detector);
594  $_v_ScriptTask_8->addEmitter($_v_ScriptTask_8_emitter);
595 
596  $_v_SendTask_7_detector = new ilSimpleDetector($_v_SendTask_7);
597  $_v_SendTask_7_detector->setName('$_v_SendTask_7_detector');
598  $_v_SendTask_7_detector->setSourceNode($_v_ParallelGateway_1);
599  $_v_SendTask_7->addDetector($_v_SendTask_7_detector);
600  $_v_ParallelGateway_1_emitter = new ilActivationEmitter($_v_ParallelGateway_1);
601  $_v_ParallelGateway_1_emitter->setName('$_v_ParallelGateway_1_emitter');
602  $_v_ParallelGateway_1_emitter->setTargetDetector($_v_SendTask_7_detector);
603  $_v_ParallelGateway_1->addEmitter($_v_ParallelGateway_1_emitter);
604 
605  $_v_SendTask_8_detector = new ilSimpleDetector($_v_SendTask_8);
606  $_v_SendTask_8_detector->setName('$_v_SendTask_8_detector');
607  $_v_SendTask_8_detector->setSourceNode($_v_ParallelGateway_1);
608  $_v_SendTask_8->addDetector($_v_SendTask_8_detector);
609  $_v_ParallelGateway_1_emitter = new ilActivationEmitter($_v_ParallelGateway_1);
610  $_v_ParallelGateway_1_emitter->setName('$_v_ParallelGateway_1_emitter');
611  $_v_ParallelGateway_1_emitter->setTargetDetector($_v_SendTask_8_detector);
612  $_v_ParallelGateway_1->addEmitter($_v_ParallelGateway_1_emitter);
613 
614  $_v_InclusiveGateway_1_detector = new ilSimpleDetector($_v_InclusiveGateway_1);
615  $_v_InclusiveGateway_1_detector->setName('$_v_InclusiveGateway_1_detector');
616  $_v_InclusiveGateway_1_detector->setSourceNode($_v_SendTask_7);
617  $_v_InclusiveGateway_1->addDetector($_v_InclusiveGateway_1_detector);
618  $_v_SendTask_7_emitter = new ilActivationEmitter($_v_SendTask_7);
619  $_v_SendTask_7_emitter->setName('$_v_SendTask_7_emitter');
620  $_v_SendTask_7_emitter->setTargetDetector($_v_InclusiveGateway_1_detector);
621  $_v_SendTask_7->addEmitter($_v_SendTask_7_emitter);
622 
623  $_v_InclusiveGateway_1_detector = new ilSimpleDetector($_v_InclusiveGateway_1);
624  $_v_InclusiveGateway_1_detector->setName('$_v_InclusiveGateway_1_detector');
625  $_v_InclusiveGateway_1_detector->setSourceNode($_v_SendTask_8);
626  $_v_InclusiveGateway_1->addDetector($_v_InclusiveGateway_1_detector);
627  $_v_SendTask_8_emitter = new ilActivationEmitter($_v_SendTask_8);
628  $_v_SendTask_8_emitter->setName('$_v_SendTask_8_emitter');
629  $_v_SendTask_8_emitter->setTargetDetector($_v_InclusiveGateway_1_detector);
630  $_v_SendTask_8->addEmitter($_v_SendTask_8_emitter);
631 
632  $_v_EndEvent_10_detector = new ilSimpleDetector($_v_EndEvent_10);
633  $_v_EndEvent_10_detector->setName('$_v_EndEvent_10_detector');
634  $_v_EndEvent_10_detector->setSourceNode($_v_InclusiveGateway_1);
635  $_v_EndEvent_10->addDetector($_v_EndEvent_10_detector);
636  $_v_InclusiveGateway_1_emitter = new ilActivationEmitter($_v_InclusiveGateway_1);
637  $_v_InclusiveGateway_1_emitter->setName('$_v_InclusiveGateway_1_emitter');
638  $_v_InclusiveGateway_1_emitter->setTargetDetector($_v_EndEvent_10_detector);
639  $_v_InclusiveGateway_1->addEmitter($_v_InclusiveGateway_1_emitter);
640 
641  // association_missing
642 
643  }
644 
645  public function _v_ScriptTask_1_script($context)
646  {
647 
648  }
649 
650 
651  public function _v_ScriptTask_2_script($context)
652  {
653 
654  }
655 
656 
657  public function _v_ScriptTask_3_script($context)
658  {
659 
660  }
661 
662 
663  public function _v_ScriptTask_5_script($context)
664  {
665 
666  }
667 
668 
669  public function _v_ScriptTask_7_script($context)
670  {
671 
672  }
673 
674 
675  public function _v_ScriptTask_8_script($context)
676  {
677 
678  }
679 
680  }
681 
682 ?>
PhpIncludeInspection
PhpIncludeInspection
PhpIncludeInspection
addNode(ilNode $node)
This method adds a node to the workflow.
defineInstanceVar( $id, $name, $reference=false, $reference_target='', $type='mixed', $role='undefined')
PhpIncludeInspection
Create styles array
The data for the language used.
PhpIncludeInspection
PhpIncludeInspection