ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.ilDataObjectReferenceElement.php
Go to the documentation of this file.
1
<?
php
2
/* Copyright (c) 1998-2016 ILIAS open source, Extended GPL, see docs/LICENSE */
3
12
class
ilDataObjectReferenceElement
extends
ilBaseElement
13
{
15
public
$element_varname
;
16
23
public
function
getPHP
($element,
ilWorkflowScaffold
$class_object)
24
{
25
// We need to register an instance var that is a reference.
26
$element_id =
ilBPMN2ParserUtils::xsIDToPHPVarname
($element[
'attributes'
][
'id'
]);
27
$name
= $element[
'name'
];
28
$ext_name =
ilBPMN2ParserUtils::extractDataNamingFromElement
($element);
29
30
if
($ext_name !=
null
) {
31
$name
= $ext_name;
32
}
33
34
$code
=
""
;
35
$code
.=
'
36
$this->defineInstanceVar("'
. $element_id .
'","'
.
$name
.
'", true, "'
. $element[
'attributes'
][
'dataObjectRef'
] .
'" );
37
'
;
38
39
return
$code
;
40
}
41
}
php
An exception for terminatinating execution or to throw for unit testing.
ilBPMN2ParserUtils\extractDataNamingFromElement
static extractDataNamingFromElement($element)
Definition:
class.ilBPMN2ParserUtils.php:271
ilBPMN2ParserUtils\xsIDToPHPVarname
static xsIDToPHPVarname($xsID)
Definition:
class.ilBPMN2ParserUtils.php:83
ilBaseElement
Class ilBaseElement.
Definition:
class.ilBaseElement.php:13
ilDataObjectReferenceElement
Class ilDataObjectReferenceElement.
Definition:
class.ilDataObjectReferenceElement.php:13
ilDataObjectReferenceElement\getPHP
getPHP($element, ilWorkflowScaffold $class_object)
Definition:
class.ilDataObjectReferenceElement.php:23
ilDataObjectReferenceElement\$element_varname
$element_varname
Definition:
class.ilDataObjectReferenceElement.php:15
ilWorkflowScaffold
Class ilWorkflowScaffold.
Definition:
class.ilWorkflowScaffold.php:13
$name
$name
Definition:
client_example.php:35
$code
$code
Definition:
example_050.php:99
Services
WorkflowEngine
classes
parser
elements
object
class.ilDataObjectReferenceElement.php
Generated on Thu Oct 2 2025 19:02:03 for ILIAS by
1.9.4 (using
Doxyfile
)