43 if(isset($element[
'children']) && count($element[
'children']))
45 foreach ($element[
'children'] as $child)
47 if($child[
'name'] ==
'dataInputAssociation')
49 $class_object->registerRequire(
'./Services/WorkflowEngine/classes/detectors/class.ilDataDetector.php');
50 $reference_name = $child[
'children'][0][
'content'];
52 '.$element_varname.
'_inputDataDetector = new ilDataDetector('.$element_varname.
'); 53 '.$element_varname.
'_inputDataDetector->setVarName("'.$reference_name.
'"); 54 '.$element_varname.
'_inputDataDetector->setName('.$element_varname.
'_inputDataDetector); 55 '.$element_varname.
'->addDetector('.$element_varname.
'_inputDataDetector); 59 if($child[
'name'] ==
'dataOutputAssociation')
61 $class_object->registerRequire(
'./Services/WorkflowEngine/classes/emitters/class.ilDataEmitter.php');
62 $reference_name = $child[
'children'][0][
'content'];
65 '.$element_varname.
'_outputDataEmitter = new ilDataEmitter('.$element_varname.
'); 66 '.$element_varname.
'_outputDataEmitter->setVarName("'.$reference_name.
'"); 67 '.$element_varname.
'_outputDataEmitter->setName('.$element_varname.
'_outputDataEmitter); 68 '.$element_varname.
'->addEmitter('.$element_varname.
'_outputDataEmitter); 86 if(isset($element[
'children']))
88 foreach($element[
'children'] as $child)
90 if($child[
'namespace'] ==
'bpmn2' && $child[
'name'] ==
'dataInputAssociation')
92 foreach($child[
'children'] as $reference)
94 if($reference[
'namespace'] ==
'bpmn2' && $reference[
'name'] ==
'sourceRef')
96 $retval[] = $reference[
'content'];
115 if(isset($element[
'children']))
117 foreach($element[
'children'] as $child)
119 if($child[
'namespace'] ==
'bpmn2' && $child[
'name'] ==
'dataOutputAssociation')
121 foreach($child[
'children'] as $reference)
123 if($reference[
'namespace'] ==
'bpmn2' && $reference[
'name'] ==
'targetRef')
125 $retval[] = $reference[
'content'];
getDataInputAssociationIdentifiers($element)
setBpmn2Array($bpmn2_array)
handleDataAssociations($element, $class_object, $element_varname)
getDataOutputAssociationIdentifiers($element)
Create styles array
The data for the language used.