Class ilBaseElement.
More...
◆ getBpmn2Array()
ilBaseElement::getBpmn2Array |
( |
| ) |
|
◆ getDataInputAssociationIdentifiers()
ilBaseElement::getDataInputAssociationIdentifiers |
( |
|
$element | ) |
|
- Parameters
-
- Returns
- array
Definition at line 82 of file class.ilBaseElement.php.
References array.
Referenced by ilCallActivityElement\getPHP(), and ilSendTaskElement\getPHP().
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'];
Create styles array
The data for the language used.
◆ getDataOutputAssociationIdentifiers()
ilBaseElement::getDataOutputAssociationIdentifiers |
( |
|
$element | ) |
|
- Parameters
-
- Returns
- array
Definition at line 111 of file class.ilBaseElement.php.
References array.
Referenced by ilCallActivityElement\getPHP().
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'];
Create styles array
The data for the language used.
◆ handleDataAssociations()
ilBaseElement::handleDataAssociations |
( |
|
$element, |
|
|
|
$class_object, |
|
|
|
$element_varname |
|
) |
| |
- Parameters
-
- Returns
- string
Definition at line 40 of file class.ilBaseElement.php.
References $code.
Referenced by ilCallActivityElement\getPHP(), ilStartEventElement\getPHP(), ilEndEventElement\getPHP(), and ilIntermediateCatchEventElement\getPHP().
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);
◆ setBpmn2Array()
ilBaseElement::setBpmn2Array |
( |
|
$bpmn2_array | ) |
|
◆ $bpmn2_array
ilBaseElement::$bpmn2_array |
|
protected |
The documentation for this class was generated from the following file: