ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
class.ilDclDateSelectionFieldRepresentation.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 = 'date_selection_type';
12  const PROP_SELECTION_OPTIONS = 'date_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 ilDateTimeInputGUI($this->lng->txt('dcl_selection_options'), 'selection_value');
24  $selection_options->addInput($text);
25 
26  return $selection_options;
27  }
28 }
Class ilDclSelectionFieldRepresentation.
This class represents a date/time property in a property form.
$text
Definition: errorreport.php:18
Class ilDclGenericMultiInputGUI.
setMulti($a_multi, $a_sortable=false, $a_addremove=true)