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

Data Fields

const PROP_SELECTION_TYPE = 'text_selection_type'
 
const PROP_SELECTION_OPTIONS = 'text_selection_options'
 
- Data Fields inherited from ilDclSelectionFieldRepresentation
const PROP_SELECTION_TYPE = ''
 
const PROP_SELECTION_OPTIONS = ''
 

Protected Member Functions

 buildOptionsInput ()
 
- Protected Member Functions inherited from ilDclSelectionFieldRepresentation
 buildFieldCreationInput (ilObjDataCollection $dcl, string $mode='create')
 
 buildOptionsInput ()
 
- Protected Member Functions inherited from ilDclBaseFieldRepresentation
 setupFilterInputField (?ilTableFilterItem $input)
 Set basic settings for filter-input-gui. More...
 
 setupInputField (ilFormPropertyGUI $input, ilDclBaseFieldModel $field)
 Sets basic settings on field-input. More...
 
 getFilterInputFieldValue (ilTableFilterItem $input)
 
 buildFieldCreationInput (ilObjDataCollection $dcl, string $mode='create')
 Build the creation-input-field. More...
 

Additional Inherited Members

- Public Member Functions inherited from ilDclSelectionFieldRepresentation
 addFilterInputFieldToTable (ilTable2GUI $table)
 
- Public Member Functions inherited from ilDclBaseFieldRepresentation
 __construct (ilDclBaseFieldModel $field)
 
 addFilterInputFieldToTable (ilTable2GUI $table)
 Add filter input to TableGUI. More...
 
 passThroughFilter (ilDclBaseRecordModel $record, $filter)
 Checks if a filter affects a record. More...
 
 parseSortingValue (string $value, bool $link=true)
 
 getInputField (ilPropertyFormGUI $form, ?int $record_id=null)
 Returns field-input. More...
 
 addFieldCreationForm (ilSubEnabledFormPropertyGUI $form, ilObjDataCollection $dcl, string $mode="create")
 Adds the options for the field-types to the field-creation form. More...
 
 getPropertyInputFieldId (string $property)
 Return post-var for property-fields. More...
 
 getField ()
 Return BaseFieldModel. More...
 
- Protected Attributes inherited from ilDclBaseFieldRepresentation
ilDclBaseFieldModel $field
 
ilLanguage $lng
 
ilCtrl $ctrl
 
ILIAS HTTP Services $http
 
ILIAS Refinery Factory $refinery
 
ilComponentRepository $component_repository
 
ilComponentFactory $component_factory
 

Detailed Description

Member Function Documentation

◆ buildOptionsInput()

ilDclTextSelectionFieldRepresentation::buildOptionsInput ( )
protected

Definition at line 26 of file class.ilDclTextSelectionFieldRepresentation.php.

References ILIAS\Repository\lng(), and ilDclGenericMultiInputGUI\setMulti().

27  {
28  $selection_options = new ilDclGenericMultiInputGUI(
29  $this->lng->txt('dcl_selection_options'),
30  'prop_' . static::PROP_SELECTION_OPTIONS
31  );
32  $selection_options->setMulti(true, true);
33 
34  $text = new ilTextInputGUI($this->lng->txt('dcl_selection_options'), 'selection_value');
35  $selection_options->addInput($text);
36 
37  return $selection_options;
38  }
setMulti(bool $a_multi, bool $a_sortable=false, bool $a_addremove=true)
+ Here is the call graph for this function:

Field Documentation

◆ PROP_SELECTION_OPTIONS

const ilDclTextSelectionFieldRepresentation::PROP_SELECTION_OPTIONS = 'text_selection_options'

◆ PROP_SELECTION_TYPE

const ilDclTextSelectionFieldRepresentation::PROP_SELECTION_TYPE = 'text_selection_type'

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