ILIAS  trunk Revision v11.0_alpha-1761-g6dbbfa7b760
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilDclSelectionRecordRepresentation Class Reference
+ Inheritance diagram for ilDclSelectionRecordRepresentation:
+ Collaboration diagram for ilDclSelectionRecordRepresentation:

Public Member Functions

 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...
 

Data Fields

const PROP_SELECTION_TYPE = ''
 
const PROP_SELECTION_OPTIONS = ''
 

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

Definition at line 21 of file class.ilDclSelectionRecordRepresentation.php.

Member Function Documentation

◆ getHTML()

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

Definition at line 27 of file class.ilDclSelectionRecordRepresentation.php.

References ilDclBaseRecordRepresentation\getField(), ILIAS\Survey\Mode\getId(), ilDclBaseRecordRepresentation\getRecordField(), and ilDclSelectionOption\getValues().

27  : 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  }
static getValues(int $field_id, $opt_ids)
+ Here is the call graph for this function:

Field Documentation

◆ PROP_SELECTION_OPTIONS

const ilDclSelectionRecordRepresentation::PROP_SELECTION_OPTIONS = ''

Definition at line 25 of file class.ilDclSelectionRecordRepresentation.php.

◆ PROP_SELECTION_TYPE

const ilDclSelectionRecordRepresentation::PROP_SELECTION_TYPE = ''

Definition at line 24 of file class.ilDclSelectionRecordRepresentation.php.


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