ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilDclSelectionRecordRepresentation Class Reference

Class ilDclSelectionRecordRepresentation. More...

+ Inheritance diagram for ilDclSelectionRecordRepresentation:
+ Collaboration diagram for ilDclSelectionRecordRepresentation:

Public Member Functions

 getHTML ($link=true)
 
- 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 ($form)
 Fills the form with the value of a record. More...
 
 getHTML ($link=true)
 Outputs html of a certain field. More...
 
 getSingleHTML (array $options=null, $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
 $record_field
 
 $lng
 
 $access
 
 $ctrl
 

Detailed Description

Member Function Documentation

◆ getHTML()

ilDclSelectionRecordRepresentation::getHTML (   $link = true)
Parameters
bool$link
Returns
string

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

References $values, ilDclBaseRecordRepresentation\getField(), ilDclBaseRecordRepresentation\getRecordField(), and ilDclSelectionOption\getValues().

23  {
24  $record_field_value = $this->getRecordField()->getValue();
25  $values = ilDclSelectionOption::getValues($this->getField()->getId(), $record_field_value);
26 
27  return is_array($values) ? implode('<br>', $values) : $values;
28  }
static getValues($field_id, $opt_ids)
$values
+ Here is the call graph for this function:

Field Documentation

◆ PROP_SELECTION_OPTIONS

const ilDclSelectionRecordRepresentation::PROP_SELECTION_OPTIONS = ''

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

◆ PROP_SELECTION_TYPE

const ilDclSelectionRecordRepresentation::PROP_SELECTION_TYPE = ''

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


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