ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
class.ilDclDateSelectionRecordRepresentation.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
class
ilDclDateSelectionRecordRepresentation
extends
ilDclSelectionRecordRepresentation
22
{
23
public
function
getHTML
(
bool
$link =
true
, array $options = []): string
24
{
25
$values = [];
26
foreach
(
ilDclSelectionOption::getValues
((
int
) $this->
getField
()->
getId
(), $this->
getRecordField
()->
getValue
()) as $value) {
27
$values[] = $this->
getField
()->personalizeOptionValue($value, $this->
user
);
28
}
29
30
return
implode(
' | '
, $values);
31
}
32
}
ilDclDateSelectionRecordRepresentation
Definition:
class.ilDclDateSelectionRecordRepresentation.php:21
ilDclSelectionOption\getValues
static getValues(int $field_id, $opt_ids)
Definition:
class.ilDclSelectionOption.php:157
ILIAS\UI\Implementation\Component\Input\getValue
getValue()
Get the value that is displayed in the input client side.
Definition:
Group.php:49
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
ilDclDateSelectionRecordRepresentation\getHTML
getHTML(bool $link=true, array $options=[])
Definition:
class.ilDclDateSelectionRecordRepresentation.php:23
ILIAS\Repository\user
user()
Definition:
trait.GlobalDICDomainServices.php:66
ilDclBaseRecordRepresentation\getRecordField
getRecordField()
Get Record Field.
Definition:
class.ilDclBaseRecordRepresentation.php:123
components
ILIAS
DataCollection
classes
Fields
DateSelection
class.ilDclDateSelectionRecordRepresentation.php
Generated on Sun Aug 31 2025 23:02:47 for ILIAS by
1.8.13 (using
Doxyfile
)