Class ilBaseElement.
More...
◆ getBpmn2Array()
ilBaseElement::getBpmn2Array |
( |
| ) |
|
◆ getDataInputAssociationIdentifiers()
ilBaseElement::getDataInputAssociationIdentifiers |
( |
|
$element | ) |
|
- Parameters
-
- Returns
- array
Definition at line 78 of file class.ilBaseElement.php.
Referenced by ilCallActivityElement\getPHP(), and ilSendTaskElement\getPHP().
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'];
◆ getDataOutputAssociationIdentifiers()
ilBaseElement::getDataOutputAssociationIdentifiers |
( |
|
$element | ) |
|
- Parameters
-
- Returns
- array
Definition at line 102 of file class.ilBaseElement.php.
Referenced by ilCallActivityElement\getPHP().
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'];
◆ 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'])) {
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);
◆ setBpmn2Array()
ilBaseElement::setBpmn2Array |
( |
|
$bpmn2_array | ) |
|
◆ $bpmn2_array
ilBaseElement::$bpmn2_array |
|
protected |
The documentation for this class was generated from the following file: