ILIAS  trunk Revision v11.0_alpha-1843-g9e1fad99175
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 
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 }
static getValues(int $field_id, $opt_ids)