ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
class.ilDclDateSelectionRecordRepresentation.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
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 }
static getValues(int $field_id, $opt_ids)
getValue()
Get the value that is displayed in the input client side.
Definition: Group.php:49