Class ilDataInputElement.
More...
◆ getPHP()
- Parameters
-
| $element | |
\ilWorkflowScaffold | $class_object | |
- Returns
- string
Definition at line 23 of file class.ilDataInputElement.php.
24 {
25 $name = $element[
'name'];
28
29 if ($ext_name != null) {
31 }
32
34 $array_elements = array();
35 foreach ((array) $input_properties as
$key => $value) {
36 $array_elements[] =
'"' .
$key .
'" => "' . $value .
'"';
37 }
38
39 $definition = 'array(' . implode(',', (array) $array_elements) . ')';
40
42
43 if ($object_definition != null) {
44 $type = $object_definition[
'type'];
45 $role = $object_definition['role'];
46 } else {
48 $role = 'undefined';
49 }
50
53 $this->defineInstanceVar("' . $element_id .
'", "' .
$name .
'", false, "", "' .
$type .
'", "' . $role .
'" );
54 $this->registerInputVar("' . $element_id . '", ' . $definition . ');
55';
56
58 }
static extractDataNamingFromElement($element)
static extractILIASDataObjectDefinitionFromElement($element)
static extractILIASInputPropertiesFromElement($element)
static xsIDToPHPVarname($xsID)
References $code, $key, $name, $type, ilBPMN2ParserUtils\extractDataNamingFromElement(), ilBPMN2ParserUtils\extractILIASDataObjectDefinitionFromElement(), ilBPMN2ParserUtils\extractILIASInputPropertiesFromElement(), and ilBPMN2ParserUtils\xsIDToPHPVarname().
◆ $element_varname
string ilDataInputElement::$element_varname |
The documentation for this class was generated from the following file: