ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilDclSelectionRecordRepresentation.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
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}
static getValues(int $field_id, $opt_ids)
getHTML(bool $link=true, array $options=[])
Outputs html of a certain field.