ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
class.ilDclTextSelectionFieldRepresentation.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
10 {
11  const PROP_SELECTION_TYPE = 'text_selection_type';
12  const PROP_SELECTION_OPTIONS = 'text_selection_options';
13 
14 
18  protected function buildOptionsInput()
19  {
20  $selection_options = new ilDclGenericMultiInputGUI($this->lng->txt('dcl_selection_options'), 'prop_' . static::PROP_SELECTION_OPTIONS);
21  $selection_options->setMulti(true, true);
22 
23  $text = new ilTextInputGUI($this->lng->txt('dcl_selection_options'), 'selection_value');
24  $selection_options->addInput($text);
25 
26  return $selection_options;
27  }
28 }
Class ilDclSelectionFieldRepresentation.
$text
Definition: errorreport.php:18
This class represents a text property in a property form.
Class ilDclGenericMultiInputGUI.
setMulti($a_multi, $a_sortable=false, $a_addremove=true)