ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilParallelGatewayElement Class Reference

Class ilParallelGatewayElement. More...

+ Inheritance diagram for ilParallelGatewayElement:
+ Collaboration diagram for ilParallelGatewayElement:

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 ilParallelGatewayElement.

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

/

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

Member Function Documentation

◆ getPHP()

ilParallelGatewayElement::getPHP (   $element,
ilWorkflowScaffold  $class_object 
)
Parameters
$element
\ilWorkflowScaffold$class_object
Returns
string

Definition at line 23 of file class.ilParallelGatewayElement.php.

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

24  {
25  $code = "";
26  $element_id = ilBPMN2ParserUtils::xsIDToPHPVarname($element['attributes']['id']);
27  $this->element_varname = '$_v_' . $element_id;
28 
29  $event_definition = null;
30 
31  $class_object->registerRequire('./Services/WorkflowEngine/classes/nodes/class.ilBasicNode.php');
32  $code .= '
33  ' . $this->element_varname . ' = new ilBasicNode($this);
34  ' . $this->element_varname . '->setName(\'' . $this->element_varname . '\');
35  $this->addNode(' . $this->element_varname . ');
36  ';
37 
38  $code .= $this->handleDataAssociations($element, $class_object, $this->element_varname);
39 
40  return $code;
41  }
$code
Definition: example_050.php:99
+ Here is the call graph for this function:

Field Documentation

◆ $element_varname

ilParallelGatewayElement::$element_varname

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


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