ILIAS  trunk Revision v11.0_alpha-2645-g16283d3b3f8
ilDclDatetimeSelectionRecordRepresentation Class Reference
+ Inheritance diagram for ilDclDatetimeSelectionRecordRepresentation:
+ Collaboration diagram for ilDclDatetimeSelectionRecordRepresentation:

Public Member Functions

 getHTML (bool $link=true, array $options=[])
 
- Public Member Functions inherited from ilDclSelectionRecordRepresentation
 getHTML (bool $link=true, array $options=[])
 
- Public Member Functions inherited from ilDclBaseRecordRepresentation
 __construct (ilDclBaseRecordFieldModel $record_field)
 
 getFormGUI (ilPropertyFormGUI $formGUI)
 
 parseFormInput ($value)
 function parses stored value to the variable needed to fill into the form for editing. More...
 
 fillFormInput (ilPropertyFormGUI $form)
 Fills the form with the value of a record. More...
 
 getHTML (bool $link=true, array $options=[])
 Outputs html of a certain field. More...
 
 getSingleHTML (?array $options=null, bool $link=true)
 Returns data for single record view. More...
 
 getConfirmationHTML ()
 Returns data for confirmation list When returning false, attribute is ignored in list. More...
 
 fillRow (ilTemplate $tpl)
 Fills row with record data. More...
 
 getRecordField ()
 Get Record Field. More...
 
 getField ()
 Getter shortcut for field. More...
 
 getRecord ()
 Getter shortcut for record. More...
 

Additional Inherited Members

- Protected Member Functions inherited from ilDclBaseRecordRepresentation
 getFormInput ()
 Gets the value from from the record field. More...
 
- Protected Attributes inherited from ilDclBaseRecordRepresentation
ILIAS UI Factory $factory
 
ilDclBaseRecordFieldModel $record_field
 
ilLanguage $lng
 
ilAccess $access
 
ilCtrl $ctrl
 
ILIAS HTTP Services $http
 
ILIAS Refinery Factory $refinery
 
ILIAS UI Renderer $renderer
 
ilObjUser $user
 

Detailed Description

Member Function Documentation

◆ getHTML()

ilDclDatetimeSelectionRecordRepresentation::getHTML ( bool  $link = true,
array  $options = [] 
)

Definition at line 23 of file class.ilDclDatetimeSelectionRecordRepresentation.php.

References ilDclBaseRecordRepresentation\getField(), ILIAS\Survey\Mode\getId(), ilDclBaseRecordRepresentation\getRecordField(), ILIAS\UI\Implementation\Component\Input\getValue(), ilDclSelectionOption\getValues(), and ILIAS\Repository\user().

23  : 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  }
static getValues(int $field_id, $opt_ids)
getValue()
Get the value that is displayed in the input client side.
Definition: Group.php:49
+ Here is the call graph for this function:

The documentation for this class was generated from the following file: