ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
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
public
function
getHTML
(
bool
$link =
true
, array $options = []): string
24
{
25
$record_field_value = $this->
getRecordField
()->getValue();
26
$values =
ilDclSelectionOption::getValues
((
int
) $this->
getField
()->
getId
(), $record_field_value);
27
28
return
implode(
' | '
, $values);
29
}
30
}
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
ilDclBaseRecordRepresentation
Definition:
class.ilDclBaseRecordRepresentation.php:21
ilDclBaseRecordRepresentation\getRecordField
getRecordField()
Get Record Field.
Definition:
class.ilDclBaseRecordRepresentation.php:123
ilDclSelectionRecordRepresentation\getHTML
getHTML(bool $link=true, array $options=[])
Definition:
class.ilDclSelectionRecordRepresentation.php:23
components
ILIAS
DataCollection
classes
Fields
Selection
class.ilDclSelectionRecordRepresentation.php
Generated on Sun Aug 31 2025 23:02:48 for ILIAS by
1.8.13 (using
Doxyfile
)