ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilDataOutputElement Class Reference

Class ilDataOutputElement. More...

+ Inheritance diagram for ilDataOutputElement:
+ Collaboration diagram for ilDataOutputElement:

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

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

/

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

Member Function Documentation

◆ getPHP()

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

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

References $code, ilBPMN2ParserUtils\extractDataNamingFromElement(), and ilBPMN2ParserUtils\xsIDToPHPVarname().

24  {
25  $name = $element['name'];
26  $element_id = ilBPMN2ParserUtils::xsIDToPHPVarname($element['attributes']['id']);
28 
29  if($ext_name != null)
30  {
31  $name = $ext_name;
32  }
33  $code = "";
34  $code .= '
35  $this->defineInstanceVar("'.$element_id.'","'.$name.'" );
36  $this->registerOutputVar("'.$element_id.'");
37 ';
38 
39  return $code;
40  }
static extractDataNamingFromElement($element)
$code
Definition: example_050.php:99
+ Here is the call graph for this function:

Field Documentation

◆ $element_varname

ilDataOutputElement::$element_varname

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


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