ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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}
An exception for terminatinating execution or to throw for unit testing.
This class represents a date/time property in a property form.
Class ilDclGenericMultiInputGUI.
$text
Definition: errorreport.php:18