43 if (isset($element[
'children']) && count($element[
'children'])) {
44 foreach ($element[
'children'] as $child) {
45 if ($child[
'name'] ==
'dataInputAssociation') {
46 $class_object->registerRequire(
'./Services/WorkflowEngine/classes/detectors/class.ilDataDetector.php');
47 $reference_name = $child[
'children'][0][
'content'];
49 ' . $element_varname .
'_inputDataDetector = new ilDataDetector(' . $element_varname .
'); 50 ' . $element_varname .
'_inputDataDetector->setVarName("' . $reference_name .
'"); 51 ' . $element_varname .
'_inputDataDetector->setName(' . $element_varname .
'_inputDataDetector); 52 ' . $element_varname .
'->addDetector(' . $element_varname .
'_inputDataDetector); 56 if ($child[
'name'] ==
'dataOutputAssociation') {
57 $class_object->registerRequire(
'./Services/WorkflowEngine/classes/emitters/class.ilDataEmitter.php');
58 $reference_name = $child[
'children'][0][
'content'];
61 ' . $element_varname .
'_outputDataEmitter = new ilDataEmitter(' . $element_varname .
'); 62 ' . $element_varname .
'_outputDataEmitter->setVarName("' . $reference_name .
'"); 63 ' . $element_varname .
'_outputDataEmitter->setName(' . $element_varname .
'_outputDataEmitter); 64 ' . $element_varname .
'->addEmitter(' . $element_varname .
'_outputDataEmitter); 82 if (isset($element[
'children'])) {
83 foreach ($element[
'children'] as $child) {
84 if ($child[
'namespace'] ==
'bpmn2' && $child[
'name'] ==
'dataInputAssociation') {
85 foreach ($child[
'children'] as $reference) {
86 if ($reference[
'namespace'] ==
'bpmn2' && $reference[
'name'] ==
'sourceRef') {
87 $retval[] = $reference[
'content'];
106 if (isset($element[
'children'])) {
107 foreach ($element[
'children'] as $child) {
108 if ($child[
'namespace'] ==
'bpmn2' && $child[
'name'] ==
'dataOutputAssociation') {
109 foreach ($child[
'children'] as $reference) {
110 if ($reference[
'namespace'] ==
'bpmn2' && $reference[
'name'] ==
'targetRef') {
111 $retval[] = $reference[
'content'];
getDataInputAssociationIdentifiers($element)
setBpmn2Array($bpmn2_array)
handleDataAssociations($element, $class_object, $element_varname)
getDataOutputAssociationIdentifiers($element)