27 $this->element_varname =
'$_v_'.$element_id;
29 $event_definition = null;
30 if(count($element[
'children']))
32 foreach ($element[
'children'] as $child)
34 if($child[
'name'] ==
'messageEventDefinition')
38 if($child[
'name'] ==
'signalEventDefinition')
45 $class_object->
registerRequire(
'./Services/WorkflowEngine/classes/nodes/class.ilBasicNode.php');
47 ' . $this->element_varname .
' = new ilBasicNode($this); 48 $this->addNode(' . $this->element_varname .
'); 49 ' . $this->element_varname .
'->setName(\'' . $this->element_varname .
'\');
52 if(isset($event_definition['type
']) && isset($event_definition['content
'])) 54 $class_object->registerRequire('./
Services/WorkflowEngine/classes/activities/
class.ilEventRaisingActivity.php
'); 56 ' . $this->element_varname . '_throwEventActivity =
new ilEventRaisingActivity(
' . $this->element_varname . ');
57 ' . $this->element_varname . '_throwEventActivity->setName(\
'' . $this->element_varname .
'\');
58 ' . $this->element_varname . '_throwEventActivity->setEventType(
"'.$event_definition['type'].'");
59 ' . $this->element_varname . '_throwEventActivity->setEventName(
"'.$event_definition['content'].'");
60 ' . $this->element_varname . '->addActivity(
' . $this->element_varname . '_throwEventActivity);
static xsIDToPHPVarname($xsID)
static extractILIASEventDefinitionFromProcess($start_event_ref, $type, $bpmn2_array)
Class ilWorkflowScaffold.
registerRequire($require)