ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilComplexGatewayElement Class Reference

Class ilComplexGatewayElement. More...

+ Inheritance diagram for ilComplexGatewayElement:
+ Collaboration diagram for ilComplexGatewayElement:

Public Member Functions

 getPHP ($element, ilWorkflowScaffold $class_object)
 
- Public Member Functions inherited from ilBaseElement
 getBpmn2Array ()
 
 setBpmn2Array ($bpmn2_array)
 
 handleDataAssociations ($element, $class_object, $element_varname)
 
 getDataInputAssociationIdentifiers ($element)
 
 getDataOutputAssociationIdentifiers ($element)
 

Data Fields

 $element_varname
 

Additional Inherited Members

- Protected Attributes inherited from ilBaseElement
 $bpmn2_array
 

Detailed Description

Class ilComplexGatewayElement.

Author
Maximilian Becker mbeck.nosp@m.er@d.nosp@m.ataba.nosp@m.y.de
Version
$Id$

/

Definition at line 12 of file class.ilComplexGatewayElement.php.

Member Function Documentation

◆ getPHP()

ilComplexGatewayElement::getPHP (   $element,
ilWorkflowScaffold  $class_object 
)

Definition at line 17 of file class.ilComplexGatewayElement.php.

18 {
19 $code = "";
20 $element_id = ilBPMN2ParserUtils::xsIDToPHPVarname($element['attributes']['id']);
21 $this->element_varname = '$_v_' . $element_id;
22
23 $event_definition = null;
24
25 $class_object->registerRequire('./Services/WorkflowEngine/classes/nodes/class.ilPluginNode.php');
26 $code .= '
27 ' . $this->element_varname . ' = new ilPluginNode($this);
28 ' . $this->element_varname . '->setName(\'' . $this->element_varname . '\');
29 // Details how this works need to be further carved out.
30 $this->addNode(' . $this->element_varname . ');
31 ';
32
33 $code .= $this->handleDataAssociations($element, $class_object, $this->element_varname);
34
35 return $code;
36 }
$code
Definition: example_050.php:99

References $code, ilWorkflowScaffold\registerRequire(), and ilBPMN2ParserUtils\xsIDToPHPVarname().

+ Here is the call graph for this function:

Field Documentation

◆ $element_varname

string ilComplexGatewayElement::$element_varname

Definition at line 15 of file class.ilComplexGatewayElement.php.


The documentation for this class was generated from the following file: