ILIAS  release_8 Revision v8.24
ilDateTimeInputGUI Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Inheritance diagram for ilDateTimeInputGUI:
+ Collaboration diagram for ilDateTimeInputGUI:

Public Member Functions

 __construct (string $a_title="", string $a_postvar="")
 
 setDate (ilDateTime $a_date=null)
 set date E.g $dt_form->setDate(new ilDateTime(time(),IL_CAL_UTC)); or $dt_form->setDate(new ilDateTime('2008-06-12 08:00:00',IL_CAL_DATETIME)); More...
 
 getDate ()
 
 setShowTime (bool $a_showtime)
 
 getShowTime ()
 
 setStartYear (int $a_year)
 
 getStartYear ()
 
 setMinuteStepSize (int $a_step_size)
 Set minute step size E.g 5 => The selection will only show 00,05,10... minutes. More...
 
 getMinuteStepSize ()
 
 setShowSeconds (bool $a_showseconds)
 
 getShowSeconds ()
 
 setValueByArray (array $a_values)
 
 hasInvalidInput ()
 
 checkInput ()
 Check input, strip slashes etc. More...
 
 getInput ()
 
 setSideBySide (bool $a_val)
 
 getSideBySide ()
 
 render ()
 
 getOnloadCode ()
 
 insert (ilTemplate $a_tpl)
 
 getTableFilterHTML ()
 Get input item HTML to be inserted into table filters. More...
 
 serializeData ()
 
 unserializeData (string $a_data)
 
 getPostValueForComparison ()
 
 getToolbarHTML ()
 Get input item HTML to be inserted into ilToolbarGUI. More...
 
 hideSubForm ()
 
- Public Member Functions inherited from ilSubEnabledFormPropertyGUI
 addSubItem (ilFormPropertyGUI $a_item)
 
 getSubItems ()
 
 getSubInputItemsRecursive ()
 returns a flat array of possibly existing subitems recursively More...
 
 checkSubItemsInput ()
 Check SubItems. More...
 
 getSubForm ()
 
 getItemByPostVar (string $a_post_var)
 Get item by post var. More...
 
- Public Member Functions inherited from ilFormPropertyGUI
 __construct (string $a_title="", string $a_postvar="")
 
 executeCommand ()
 
 getType ()
 
 setTitle (string $a_title)
 
 getTitle ()
 
 setPostVar (string $a_postvar)
 
 getPostVar ()
 
 getFieldId ()
 
 setInfo (string $a_info)
 
 getInfo ()
 
 setAlert (string $a_alert)
 
 getAlert ()
 
 setRequired (bool $a_required)
 
 getRequired ()
 
 setDisabled (bool $a_disabled)
 
 getDisabled ()
 
 checkInput ()
 Check input, strip slashes etc. More...
 
 setParentForm (ilPropertyFormGUI $a_parentform)
 
 getParentForm ()
 
 setParent (ilFormPropertyGUI $a_val)
 
 getParent ()
 
 getSubForm ()
 
 hideSubForm ()
 
 setHiddenTitle (string $a_val)
 
 getHiddenTitle ()
 
 getItemByPostVar (string $a_post_var)
 Get item by post var. More...
 
 serializeData ()
 
 unserializeData (string $a_data)
 
 setParentTable ($a_val)
 Set parent table. More...
 
 getParentTable ()
 Get parent table. More...
 
 writeToSession ()
 
 clearFromSession ()
 
 readFromSession ()
 
 getHiddenTag (string $a_post_var, string $a_value)
 
 setMulti (bool $a_multi, bool $a_sortable=false, bool $a_addremove=true)
 
 getMulti ()
 
 setMultiValues (array $a_values)
 
 getMultiValues ()
 
 getContentOutsideFormTag ()
 Get content that has to reside outside of the parent form tag, e.g. More...
 
 stripSlashesAddSpaceFallback (string $a_str)
 Strip slashes with add space fallback, see https://www.ilias.de/mantis/view.php?id=19727. More...
 
 getTableFilterLabelFor ()
 Get label "for" attribute value for filter. More...
 
 getFormLabelFor ()
 Get label "for" attribute value for form. More...
 
 setRequestParam (string $key, $val)
 This writes the request (aka post) values. More...
 
- Public Member Functions inherited from ilTableFilterItem
 getTableFilterHTML ()
 Get input item HTML to be inserted into table filters. More...
 
 getTableFilterLabelFor ()
 Get label "for" attribute value. More...
 
 getToolbarHTML ()
 Get input item HTML to be inserted into ilToolbarGUI. More...
 

Protected Member Functions

 getDatePickerTimeFormat ()
 
 parseDatePickerConfig ()
 
- Protected Member Functions inherited from ilFormPropertyGUI
 setType (string $a_type)
 
 checkParentFormTable ()
 
 getSessionKey ()
 
 getMultiIconsHTML ()
 
 int ($key)
 
 intArray ($key)
 
 str ($key)
 
 raw ($key)
 
 strArray ($key)
 
 arrayArray ($key)
 
 isRequestParamArray (string $key)
 
 getRequestParam (string $key, Refinery\Transformation $t)
 

Protected Attributes

ilObjUser $user
 
ilDateTime $date = null
 
string $time = "00:00:00"
 
bool $showtime = false
 
bool $showseconds = false
 
int $minute_step_size = 5
 
int $startyear = null
 
string $invalid_input = ''
 
bool $side_by_side = true
 
bool $valid = false
 
- Protected Attributes inherited from ilSubEnabledFormPropertyGUI
array $sub_items = array()
 
- Protected Attributes inherited from ilFormPropertyGUI
array $set_params = []
 
ilTable2GUI $parent_table = null
 
ilFormPropertyGUI $parent_gui = null
 
ilCtrl $ctrl
 
ilLanguage $lng
 
string $type = ""
 
string $title = ""
 
string $postvar = ""
 
string $info = ""
 
string $alert = ""
 
bool $required = false
 
ilPropertyFormGUI $parentform = null
 
string $hidden_title = ""
 
bool $multi = false
 
bool $multi_sortable = false
 
bool $multi_addremove = true
 
array $multi_values = []
 
RequestInterface $request
 
HTTP Services $http
 
Refinery Factory $refinery = null
 
bool $disabled = false
 
ilGlobalTemplateInterface $global_tpl = null
 

Additional Inherited Members

- Static Public Member Functions inherited from ilFormPropertyGUI
static removeProhibitedCharacters (string $a_text)
 Remove prohibited characters see #19159. More...
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning This class represents a date/time property in a property form.

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

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

Constructor & Destructor Documentation

◆ __construct()

ilDateTimeInputGUI::__construct ( string  $a_title = "",
string  $a_postvar = "" 
)

Reimplemented from ilFormPropertyGUI.

Definition at line 39 of file class.ilDateTimeInputGUI.php.

42 {
43 global $DIC;
44
45 $this->lng = $DIC->language();
46 $this->user = $DIC->user();
47 parent::__construct($a_title, $a_postvar);
48 $this->setType("datetime");
49 }
global $DIC
Definition: feed.php:28
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc

References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\lng(), ilFormPropertyGUI\setType(), and ILIAS\Repository\user().

+ Here is the call graph for this function:

Member Function Documentation

◆ checkInput()

ilDateTimeInputGUI::checkInput ( )

Check input, strip slashes etc.

set alert, if input is not ok.

Reimplemented from ilFormPropertyGUI.

Definition at line 135 of file class.ilDateTimeInputGUI.php.

135 : bool
136 {
138
139 if ($this->getDisabled()) {
140 return true;
141 }
142
143 $post = $this->str($this->getPostVar());
144
145 // always done to make sure there are no obsolete values left
146 $this->setDate(null);
147
148 $valid = false;
149 if (trim($post)) {
151 if ($parsed) {
152 $this->setDate($parsed);
153 $valid = true;
154 }
155 } elseif (!$this->getRequired()) {
156 $valid = true;
157 }
158
159 if ($valid &&
160 $this->getDate() &&
161 $this->getStartYear() &&
162 $this->getDate()->get(IL_CAL_FKT_DATE, "Y") < $this->getStartYear()) {
163 $valid = false;
164 }
165
166 $this->valid = $valid;
167
168 if (!$valid) {
169 $this->invalid_input = $post;
170 $this->setAlert($lng->txt("form_msg_wrong_date"));
171 }
172
173 if ($valid) {
174 $valid = $this->checkSubItemsInput();
175 }
176
177 return $valid;
178 }
const IL_CAL_FKT_DATE
static parseIncomingDate($a_value, bool $a_add_time=false)
Try to parse incoming value to date object.
setDate(ilDateTime $a_date=null)
set date E.g $dt_form->setDate(new ilDateTime(time(),IL_CAL_UTC)); or $dt_form->setDate(new ilDateTim...
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
$post
Definition: ltitoken.php:49

References ilFormPropertyGUI\$lng, $post, $valid, ilSubEnabledFormPropertyGUI\checkSubItemsInput(), getDate(), getDatePickerTimeFormat(), ilFormPropertyGUI\getDisabled(), ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), getStartYear(), IL_CAL_FKT_DATE, ilCalendarUtil\parseIncomingDate(), ilFormPropertyGUI\setAlert(), setDate(), ilFormPropertyGUI\str(), and ilLanguage\txt().

+ Here is the call graph for this function:

◆ getDate()

ilDateTimeInputGUI::getDate ( )

Definition at line 65 of file class.ilDateTimeInputGUI.php.

65 : ?ilDateTime
66 {
67 return $this->date;
68 }
@classDescription Date and time handling

References $date.

Referenced by checkInput(), getInput(), hideSubForm(), render(), and serializeData().

+ Here is the caller graph for this function:

◆ getDatePickerTimeFormat()

ilDateTimeInputGUI::getDatePickerTimeFormat ( )
protected

Definition at line 125 of file class.ilDateTimeInputGUI.php.

125 : int
126 {
127 return (int) $this->getShowTime() + (int) $this->getShowSeconds();
128 }

References getShowSeconds(), getShowTime(), and ilFormPropertyGUI\int().

Referenced by checkInput(), getOnloadCode(), render(), and setValueByArray().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getInput()

ilDateTimeInputGUI::getInput ( )

Definition at line 180 of file class.ilDateTimeInputGUI.php.

180 : ?string
181 {
182 if ($this->valid && $this->getDate() !== null) {
183 // getInput() should return a generic format
184 $post_format = $this->getShowTime()
186 : IL_CAL_DATE;
187 return $this->getDate()->get($post_format);
188 }
189 return null;
190 }
const IL_CAL_DATE
const IL_CAL_DATETIME

References getDate(), getShowTime(), IL_CAL_DATE, and IL_CAL_DATETIME.

+ Here is the call graph for this function:

◆ getMinuteStepSize()

ilDateTimeInputGUI::getMinuteStepSize ( )

Definition at line 100 of file class.ilDateTimeInputGUI.php.

100 : int
101 {
103 }

References $minute_step_size.

Referenced by parseDatePickerConfig().

+ Here is the caller graph for this function:

◆ getOnloadCode()

ilDateTimeInputGUI::getOnloadCode ( )

Definition at line 268 of file class.ilDateTimeInputGUI.php.

268 : array
269 {
270 $code = [];
271 if (!$this->getDisabled()) {
272 $picker_id = md5($this->getPostVar());
273
275 $picker_id,
277 $this->parseDatePickerConfig(),
278 null,
279 null,
280 null,
281 "subform_" . $this->getPostVar()
282 );
283 }
284 return $code;
285 }
static getCodeForPicker(string $a_id, ?int $a_add_time=null, ?array $a_custom_config=null, ?string $a_id2=null, ?array $a_custom_config2=null, ?string $a_toggle_id=null, ?string $a_subform_id=null)
Add date time picker to element.

References ilCalendarUtil\getCodeForPicker(), getDatePickerTimeFormat(), ilFormPropertyGUI\getDisabled(), ilFormPropertyGUI\getPostVar(), and parseDatePickerConfig().

+ Here is the call graph for this function:

◆ getPostValueForComparison()

ilDateTimeInputGUI::getPostValueForComparison ( )

Definition at line 328 of file class.ilDateTimeInputGUI.php.

328 : string
329 {
330 return trim($this->str($this->getPostVar()));
331 }

References ilFormPropertyGUI\getPostVar(), and ilFormPropertyGUI\str().

+ Here is the call graph for this function:

◆ getShowSeconds()

ilDateTimeInputGUI::getShowSeconds ( )

Definition at line 110 of file class.ilDateTimeInputGUI.php.

110 : bool
111 {
112 return $this->showseconds;
113 }

References $showseconds.

Referenced by getDatePickerTimeFormat().

+ Here is the caller graph for this function:

◆ getShowTime()

ilDateTimeInputGUI::getShowTime ( )

Definition at line 75 of file class.ilDateTimeInputGUI.php.

75 : bool
76 {
77 return $this->showtime;
78 }

References $showtime.

Referenced by getDatePickerTimeFormat(), getInput(), and unserializeData().

+ Here is the caller graph for this function:

◆ getSideBySide()

ilDateTimeInputGUI::getSideBySide ( )

Definition at line 197 of file class.ilDateTimeInputGUI.php.

197 : bool
198 {
199 return $this->side_by_side;
200 }

References $side_by_side.

Referenced by parseDatePickerConfig().

+ Here is the caller graph for this function:

◆ getStartYear()

ilDateTimeInputGUI::getStartYear ( )

Reimplemented in ilBirthdayInputGUI.

Definition at line 85 of file class.ilDateTimeInputGUI.php.

85 : ?int
86 {
87 return $this->startyear;
88 }

References $startyear.

Referenced by checkInput(), and parseDatePickerConfig().

+ Here is the caller graph for this function:

◆ getTableFilterHTML()

ilDateTimeInputGUI::getTableFilterHTML ( )

Get input item HTML to be inserted into table filters.

Implements ilTableFilterItem.

Definition at line 296 of file class.ilDateTimeInputGUI.php.

296 : string
297 {
298 $html = $this->render();
299 return $html;
300 }

References render().

+ Here is the call graph for this function:

◆ getToolbarHTML()

ilDateTimeInputGUI::getToolbarHTML ( )

Get input item HTML to be inserted into ilToolbarGUI.

Implements ilToolbarItem.

Definition at line 333 of file class.ilDateTimeInputGUI.php.

333 : string
334 {
335 $html = $this->render();
336 return $html;
337 }

References render().

+ Here is the call graph for this function:

◆ hasInvalidInput()

ilDateTimeInputGUI::hasInvalidInput ( )

Definition at line 130 of file class.ilDateTimeInputGUI.php.

130 : bool
131 {
132 return (bool) $this->invalid_input;
133 }

References $invalid_input.

◆ hideSubForm()

ilDateTimeInputGUI::hideSubForm ( )

Reimplemented from ilFormPropertyGUI.

Definition at line 339 of file class.ilDateTimeInputGUI.php.

339 : bool
340 {
341 return (!$this->getDate() || $this->getDate()->isNull());
342 }

References getDate().

+ Here is the call graph for this function:

◆ insert()

ilDateTimeInputGUI::insert ( ilTemplate  $a_tpl)

Definition at line 287 of file class.ilDateTimeInputGUI.php.

287 : void
288 {
289 $html = $this->render();
290
291 $a_tpl->setCurrentBlock("prop_generic");
292 $a_tpl->setVariable("PROP_GENERIC", $html);
293 $a_tpl->parseCurrentBlock();
294 }
setVariable($variable, $value='')
Sets a variable value.
Definition: IT.php:514
setCurrentBlock(string $part=ilGlobalTemplateInterface::DEFAULT_BLOCK)
parseCurrentBlock(string $part=ilGlobalTemplateInterface::DEFAULT_BLOCK)

References ilTemplate\parseCurrentBlock(), render(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().

+ Here is the call graph for this function:

◆ parseDatePickerConfig()

ilDateTimeInputGUI::parseDatePickerConfig ( )
protected

Reimplemented in ilBirthdayInputGUI.

Definition at line 202 of file class.ilDateTimeInputGUI.php.

202 : array
203 {
204 $config = null;
205 if ($this->getMinuteStepSize()) {
206 $config['stepping'] = $this->getMinuteStepSize();
207 }
208 if ($this->getStartYear()) {
209 $config['minDate'] = $this->getStartYear() . '-01-01';
210 }
211 $config['sideBySide'] = $this->getSideBySide();
212 return $config;
213 }
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition: metadata.php:85

References $config, getMinuteStepSize(), getSideBySide(), and getStartYear().

Referenced by getOnloadCode(), and render().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ render()

ilDateTimeInputGUI::render ( )

Definition at line 215 of file class.ilDateTimeInputGUI.php.

215 : string
216 {
219
220 $tpl = new ilTemplate("tpl.prop_datetime.html", true, true, "Services/Form");
221
222 // config picker
223 if (!$this->getDisabled()) {
224 $picker_id = md5($this->getPostVar()); // :TODO: unique?
225 $tpl->setVariable('DATEPICKER_ID', $picker_id);
226
228 $picker_id,
230 $this->parseDatePickerConfig(),
231 null,
232 null,
233 null,
234 "subform_" . $this->getPostVar()
235 );
236 } else {
237 $tpl->setVariable('DATEPICKER_DISABLED', 'disabled="disabled" ');
238 }
239
240 // :TODO: i18n?
242 $tpl->setVariable('PLACEHOLDER', $pl_format);
243
244 // accessibility description
245 $tpl->setVariable(
246 'DESCRIPTION',
247 ilLegacyFormElementsUtil::prepareFormOutput($lng->txt("form_date_aria_desc") . " " . $pl_format)
248 );
249
250 // current value
251 $date_value = htmlspecialchars($this->invalid_input);
252 if (!$date_value &&
253 $this->getDate()) {
255 $date_value = $this->getDate()->get(IL_CAL_FKT_DATE, $out_format, $ilUser->getTimeZone());
256 }
257
258 $tpl->setVariable('DATEPICKER_VALUE', $date_value);
259 $tpl->setVariable('DATE_ID', $this->getPostVar());
260
261 if ($this->getRequired()) {
262 $tpl->setVariable("REQUIRED", "required=\"required\"");
263 }
264
265 return $tpl->get();
266 }
static getUserDateFormat(int $a_add_time=0, bool $a_for_parsing=false)
Parse current user setting into date/time format.
static addDateTimePicker(string $a_id, ?int $a_add_time=null, ?array $a_custom_config=null, ?string $a_id2=null, ?array $a_custom_config2=null, ?string $a_toggle_id=null, ?string $a_subform_id=null)
Add date time picker to element.
static prepareFormOutput($a_str, bool $a_strip=false)
special template class to simplify handling of ITX/PEAR
$ilUser
Definition: imgupload.php:34
if($DIC->http() ->request() ->getMethod()=="GET" &&isset($DIC->http() ->request() ->getQueryParams()['tex'])) $tpl
Definition: latex.php:41

References $ilUser, ilFormPropertyGUI\$lng, $tpl, $user, ilCalendarUtil\addDateTimePicker(), getDate(), getDatePickerTimeFormat(), ilFormPropertyGUI\getDisabled(), ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), ilCalendarUtil\getUserDateFormat(), IL_CAL_FKT_DATE, parseDatePickerConfig(), ilLegacyFormElementsUtil\prepareFormOutput(), and ilLanguage\txt().

Referenced by getTableFilterHTML(), getToolbarHTML(), and insert().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ serializeData()

ilDateTimeInputGUI::serializeData ( )

Reimplemented from ilFormPropertyGUI.

Definition at line 302 of file class.ilDateTimeInputGUI.php.

302 : string
303 {
304 if ($this->getDate()) {
305 return serialize($this->getDate()->get(IL_CAL_UNIX));
306 }
307 return "";
308 }
const IL_CAL_UNIX

References getDate(), and IL_CAL_UNIX.

+ Here is the call graph for this function:

◆ setDate()

ilDateTimeInputGUI::setDate ( ilDateTime  $a_date = null)

set date E.g $dt_form->setDate(new ilDateTime(time(),IL_CAL_UTC)); or $dt_form->setDate(new ilDateTime('2008-06-12 08:00:00',IL_CAL_DATETIME));

For fullday (no timezone conversion) events use:

            $dt_form->setDate(new ilDate('2008-08-01',IL_CAL_DATE));

Definition at line 60 of file class.ilDateTimeInputGUI.php.

60 : void
61 {
62 $this->date = $a_date;
63 }

Referenced by checkInput(), setValueByArray(), and unserializeData().

+ Here is the caller graph for this function:

◆ setMinuteStepSize()

ilDateTimeInputGUI::setMinuteStepSize ( int  $a_step_size)

Set minute step size E.g 5 => The selection will only show 00,05,10... minutes.

Parameters
int$a_step_sizeminute step_size 1,5,10,15,20...

Definition at line 95 of file class.ilDateTimeInputGUI.php.

95 : void
96 {
97 $this->minute_step_size = $a_step_size;
98 }

◆ setShowSeconds()

ilDateTimeInputGUI::setShowSeconds ( bool  $a_showseconds)

Definition at line 105 of file class.ilDateTimeInputGUI.php.

105 : void
106 {
107 $this->showseconds = $a_showseconds;
108 }

◆ setShowTime()

ilDateTimeInputGUI::setShowTime ( bool  $a_showtime)

Definition at line 70 of file class.ilDateTimeInputGUI.php.

70 : void
71 {
72 $this->showtime = $a_showtime;
73 }

◆ setSideBySide()

ilDateTimeInputGUI::setSideBySide ( bool  $a_val)

Definition at line 192 of file class.ilDateTimeInputGUI.php.

192 : void
193 {
194 $this->side_by_side = $a_val;
195 }

◆ setStartYear()

ilDateTimeInputGUI::setStartYear ( int  $a_year)

Definition at line 80 of file class.ilDateTimeInputGUI.php.

80 : void
81 {
82 $this->startyear = $a_year;
83 }

◆ setValueByArray()

ilDateTimeInputGUI::setValueByArray ( array  $a_values)

Definition at line 115 of file class.ilDateTimeInputGUI.php.

115 : void
116 {
117 $incoming = $a_values[$this->getPostVar()] ?? "";
118 $this->setDate(ilCalendarUtil::parseIncomingDate($incoming, (bool) $this->getDatePickerTimeFormat()));
119
120 foreach ($this->getSubItems() as $item) {
121 $item->setValueByArray($a_values);
122 }
123 }

References getDatePickerTimeFormat(), ilFormPropertyGUI\getPostVar(), ilSubEnabledFormPropertyGUI\getSubItems(), ilCalendarUtil\parseIncomingDate(), and setDate().

+ Here is the call graph for this function:

◆ unserializeData()

ilDateTimeInputGUI::unserializeData ( string  $a_data)

Reimplemented from ilFormPropertyGUI.

Definition at line 310 of file class.ilDateTimeInputGUI.php.

310 : void
311 {
312 $tmp = unserialize($a_data);
313 if ($tmp) {
314 // we used to serialize the complete instance
315 if (is_object($tmp)) {
316 $date = $tmp;
317 } else {
318 $date = $this->getShowTime()
319 ? new ilDateTime($tmp, IL_CAL_UNIX)
320 : new ilDate($tmp, IL_CAL_UNIX);
321 }
322 $this->setDate($date);
323 } else {
324 $this->setDate();
325 }
326 }
Class for single dates.

References $date, getShowTime(), IL_CAL_UNIX, and setDate().

+ Here is the call graph for this function:

Field Documentation

◆ $date

ilDateTime ilDateTimeInputGUI::$date = null
protected

Definition at line 29 of file class.ilDateTimeInputGUI.php.

Referenced by getDate(), and unserializeData().

◆ $invalid_input

string ilDateTimeInputGUI::$invalid_input = ''
protected

Definition at line 35 of file class.ilDateTimeInputGUI.php.

Referenced by hasInvalidInput().

◆ $minute_step_size

int ilDateTimeInputGUI::$minute_step_size = 5
protected

Definition at line 33 of file class.ilDateTimeInputGUI.php.

Referenced by getMinuteStepSize().

◆ $showseconds

bool ilDateTimeInputGUI::$showseconds = false
protected

Definition at line 32 of file class.ilDateTimeInputGUI.php.

Referenced by getShowSeconds().

◆ $showtime

bool ilDateTimeInputGUI::$showtime = false
protected

Definition at line 31 of file class.ilDateTimeInputGUI.php.

Referenced by getShowTime().

◆ $side_by_side

bool ilDateTimeInputGUI::$side_by_side = true
protected

Definition at line 36 of file class.ilDateTimeInputGUI.php.

Referenced by getSideBySide().

◆ $startyear

int ilDateTimeInputGUI::$startyear = null
protected

Definition at line 34 of file class.ilDateTimeInputGUI.php.

Referenced by getStartYear().

◆ $time

string ilDateTimeInputGUI::$time = "00:00:00"
protected

Definition at line 30 of file class.ilDateTimeInputGUI.php.

◆ $user

ilObjUser ilDateTimeInputGUI::$user
protected

Definition at line 28 of file class.ilDateTimeInputGUI.php.

Referenced by render().

◆ $valid

bool ilDateTimeInputGUI::$valid = false
protected

Definition at line 37 of file class.ilDateTimeInputGUI.php.

Referenced by checkInput().


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