Class ilDclSelectionFieldRepresentation.
More...
◆ addFilterInputFieldToTable()
ilDclSelectionFieldRepresentation::addFilterInputFieldToTable |
( |
ilTable2GUI |
$table | ) |
|
◆ buildFieldCreationInput()
ilDclSelectionFieldRepresentation::buildFieldCreationInput |
( |
ilObjDataCollection |
$dcl, |
|
|
|
$mode = 'create' |
|
) |
| |
|
protected |
- Parameters
-
- Returns
- ilPropertyFormGUI
Definition at line 23 of file class.ilDclSelectionFieldRepresentation.php.
References ilRadioOption\addSubItem(), buildOptionsInput(), ilDclSelectionOption\getAllForField(), ilDclBaseFieldRepresentation\getField(), ilDclBaseFieldRepresentation\getInputField(), ilDclSelectionFieldModel\SELECTION_TYPE_COMBOBOX, ilDclSelectionFieldModel\SELECTION_TYPE_MULTI, ilDclSelectionFieldModel\SELECTION_TYPE_SINGLE, ilFormPropertyGUI\setRequired(), and ilDclBaseFieldRepresentation\setupInputField().
25 $opt = parent::buildFieldCreationInput($dcl, $mode);
28 $opt->addSubItem($selection_options);
30 $selection_type =
new ilRadioGroupInputGUI($this->lng->txt(
'dcl_selection_type'),
'prop_' . static::PROP_SELECTION_TYPE);
37 $selection_type->addOption($option_1);
43 $selection_type->addOption($option_2);
49 $selection_type->addOption($option_3);
This class represents an option in a radio group.
const SELECTION_TYPE_SINGLE
const SELECTION_TYPE_MULTI
addSubItem($a_item)
Add Subitem.
const SELECTION_TYPE_COMBOBOX
◆ buildOptionsInput()
ilDclSelectionFieldRepresentation::buildOptionsInput |
( |
| ) |
|
|
abstractprotected |
◆ PROP_SELECTION_OPTIONS
const ilDclSelectionFieldRepresentation::PROP_SELECTION_OPTIONS = '' |
◆ PROP_SELECTION_TYPE
const ilDclSelectionFieldRepresentation::PROP_SELECTION_TYPE = '' |
The documentation for this class was generated from the following file: