Class ilDataInputElement.
More...
◆ getPHP()
- Parameters
-
| $element | |
\ilWorkflowScaffold | $class_object | |
- Returns
- string
Definition at line 23 of file class.ilDataInputElement.php.
References $code, array, ilBPMN2ParserUtils\extractDataNamingFromElement(), ilBPMN2ParserUtils\extractILIASDataObjectDefinitionFromElement(), ilBPMN2ParserUtils\extractILIASInputPropertiesFromElement(), and ilBPMN2ParserUtils\xsIDToPHPVarname().
25 $name = $element[
'name'];
35 $array_elements =
array();
36 foreach((
array)$input_properties as $key => $value)
38 $array_elements[] =
'"'.$key.
'" => "'.$value.
'"';
41 $definition =
'array(' . implode(
',', (
array)$array_elements) .
')';
45 if($object_definition != null)
47 $type = $object_definition[
'type'];
48 $role = $object_definition[
'role'];
56 $this->defineInstanceVar("'.$element_id.
'", "'.$name.
'", false, "", "'.$type.
'", "'.$role.
'" ); 57 $this->registerInputVar("'.$element_id.
'", '.$definition.
'); static xsIDToPHPVarname($xsID)
static extractDataNamingFromElement($element)
static extractILIASInputPropertiesFromElement($element)
Create styles array
The data for the language used.
static extractILIASDataObjectDefinitionFromElement($element)
◆ $element_varname
ilDataInputElement::$element_varname |
The documentation for this class was generated from the following file: