ILIAS
trunk Revision v11.0_alpha-1843-g9e1fad99175
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
class.ilDclSelectionRecordRepresentation.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
abstract
class
ilDclSelectionRecordRepresentation
extends
ilDclBaseRecordRepresentation
22
{
23
// those should be overwritten by subclasses
24
public
const
PROP_SELECTION_TYPE
=
''
;
25
public
const
PROP_SELECTION_OPTIONS
=
''
;
26
27
public
function
getHTML
(
bool
$link =
true
, array $options = []): string
28
{
29
$record_field_value = $this->
getRecordField
()->getValue();
30
$values =
ilDclSelectionOption::getValues
((
int
) $this->
getField
()->
getId
(), $record_field_value);
31
32
return
implode(
'<br>'
, $values);
33
}
34
}
ilDclSelectionOption\getValues
static getValues(int $field_id, $opt_ids)
Definition:
class.ilDclSelectionOption.php:157
ILIAS\Survey\Mode\getId
getId()
Definition:
trait.ModeProviderBase.php:35
ilDclSelectionRecordRepresentation
Definition:
class.ilDclSelectionRecordRepresentation.php:21
ilDclBaseRecordRepresentation\getField
getField()
Getter shortcut for field.
Definition:
class.ilDclBaseRecordRepresentation.php:131
ilDclSelectionRecordRepresentation\PROP_SELECTION_OPTIONS
const PROP_SELECTION_OPTIONS
Definition:
class.ilDclSelectionRecordRepresentation.php:25
ilDclBaseRecordRepresentation
Definition:
class.ilDclBaseRecordRepresentation.php:21
ilDclBaseRecordRepresentation\getRecordField
getRecordField()
Get Record Field.
Definition:
class.ilDclBaseRecordRepresentation.php:123
ilDclSelectionRecordRepresentation\PROP_SELECTION_TYPE
const PROP_SELECTION_TYPE
Definition:
class.ilDclSelectionRecordRepresentation.php:24
ilDclSelectionRecordRepresentation\getHTML
getHTML(bool $link=true, array $options=[])
Definition:
class.ilDclSelectionRecordRepresentation.php:27
components
ILIAS
DataCollection
classes
Fields
Selection
class.ilDclSelectionRecordRepresentation.php
Generated on Sun Apr 20 2025 23:03:04 for ILIAS by
1.8.13 (using
Doxyfile
)