ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
class.ilDataOutputElement.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2016 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
13 {
16 
23  public function getPHP($element, ilWorkflowScaffold $class_object)
24  {
25  $name = $element['name'];
26  $element_id = ilBPMN2ParserUtils::xsIDToPHPVarname($element['attributes']['id']);
28 
29  if ($ext_name != null) {
30  $name = $ext_name;
31  }
32  $code = "";
33  $code .= '
34  $this->defineInstanceVar("' . $element_id . '","' . $name . '" );
35  $this->registerOutputVar("' . $element_id . '");
36 ';
37 
38  return $code;
39  }
40 }
static extractDataNamingFromElement($element)
getPHP($element, ilWorkflowScaffold $class_object)
Class ilWorkflowScaffold.
$code
Definition: example_050.php:99
Class ilBaseElement.
Class ilDataOutputElement.