ILIAS  release_7 Revision v7.30-3-g800a261c036
ilDateTimeInputGUI Class Reference

This class represents a date/time property in a property form. More...

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

Public Member Functions

 __construct ($a_title="", $a_postvar="")
 Constructor. More...
 
 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 ()
 Get Date, yyyy-mm-dd. More...
 
 setShowTime ($a_showtime)
 Set Show Time Information. More...
 
 getShowTime ()
 Get Show Time Information. More...
 
 setStartYear ($a_year)
 Set start year. More...
 
 getStartYear ()
 Get start year. More...
 
 setMinuteStepSize ($a_step_size)
 Set minute step size E.g 5 => The selection will only show 00,05,10... minutes. More...
 
 getMinuteStepSize ()
 Get minute step size. More...
 
 setShowSeconds ($a_showseconds)
 Set Show Seconds. More...
 
 getShowSeconds ()
 Get Show Seconds. More...
 
 setValueByArray ($a_values)
 Set value by array. More...
 
 hasInvalidInput ()
 
 checkInput ()
 Check input, strip slashes etc. More...
 
 setSideBySide (bool $a_val)
 Set side by side. More...
 
 getSideBySide ()
 Get side by side. More...
 
 render ()
 Insert property html. More...
 
 getOnloadCode ()
 Get onload code. More...
 
 insert ($a_tpl)
 Insert property html. More...
 
 getTableFilterHTML ()
 Get HTML for table filter. More...
 
 serializeData ()
 serialize data More...
 
 unserializeData ($a_data)
 unserialize data More...
 
 getPostValueForComparison ()
 parse post value to make it comparable More...
 
 getToolbarHTML ()
 Get HTML for toolbar. More...
 
 hideSubForm ()
 Sub form hidden on init? More...
 
- Public Member Functions inherited from ilSubEnabledFormPropertyGUI
 addSubItem ($a_item)
 Add Subitem. More...
 
 getSubItems ()
 Get Subitems. More...
 
 getSubInputItemsRecursive ()
 returns a flat array of possibly existing subitems recursively More...
 
 checkSubItemsInput ()
 Check SubItems. More...
 
 getSubForm ()
 Get sub form html. More...
 
 getItemByPostVar ($a_post_var)
 Get item by post var. More...
 
- Public Member Functions inherited from ilFormPropertyGUI
 __construct ($a_title="", $a_postvar="")
 Constructor. More...
 
 executeCommand ()
 Execute command. More...
 
 getType ()
 Get Type. More...
 
 setTitle ($a_title)
 Set Title. More...
 
 getTitle ()
 Get Title. More...
 
 setPostVar ($a_postvar)
 Set Post Variable. More...
 
 getPostVar ()
 Get Post Variable. More...
 
 getFieldId ()
 Get Post Variable. More...
 
 setInfo ($a_info)
 Set Information Text. More...
 
 getInfo ()
 Get Information Text. More...
 
 setAlert ($a_alert)
 Set Alert Text. More...
 
 getAlert ()
 Get Alert Text. More...
 
 setRequired ($a_required)
 Set Required. More...
 
 getRequired ()
 Get Required. More...
 
 setDisabled ($a_disabled)
 Set Disabled. More...
 
 getDisabled ()
 Get Disabled. More...
 
 checkInput ()
 Check input, strip slashes etc. More...
 
 setParentForm ($a_parentform)
 Set Parent Form. More...
 
 getParentForm ()
 Get Parent Form. More...
 
 setParent ($a_val)
 Set Parent GUI object. More...
 
 getParent ()
 Get Parent GUI object. More...
 
 getSubForm ()
 Get sub form html. More...
 
 hideSubForm ()
 Sub form hidden on init? More...
 
 setHiddenTitle ($a_val)
 Set hidden title (for screenreaders) More...
 
 getHiddenTitle ()
 Get hidden title. More...
 
 getItemByPostVar ($a_post_var)
 Get item by post var. More...
 
 serializeData ()
 serialize data More...
 
 unserializeData ($a_data)
 unserialize data More...
 
 writeToSession ()
 Write to session. More...
 
 clearFromSession ()
 Clear session value. More...
 
 readFromSession ()
 Read from session. More...
 
 getHiddenTag ($a_post_var, $a_value)
 Get hidden tag (used for disabled properties) More...
 
 setMulti ($a_multi, $a_sortable=false, $a_addremove=true)
 Set Multi. More...
 
 getMulti ()
 Get Multi. More...
 
 setMultiValues (array $a_values)
 Set multi values. More...
 
 getMultiValues ()
 Get multi values. More...
 
 getContentOutsideFormTag ()
 Get content that has to reside outside of the parent form tag, e.g. More...
 
 stripSlashesAddSpaceFallback ($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...
 
- 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 ()
 parse properties to datepicker config More...
 
- Protected Member Functions inherited from ilFormPropertyGUI
 setType ($a_type)
 Set Type. More...
 
 getMultiIconsHTML ()
 Get HTML for multiple value icons. More...
 

Protected Attributes

 $lng
 
 $user
 
 $date
 
 $time = "00:00:00"
 
 $showtime = false
 
 $showseconds = false
 
 $minute_step_size = 5
 
 $startyear = ''
 
 $invalid_input = ''
 
 $side_by_side = true
 
 $valid_incoming_datetime = null
 
- Protected Attributes inherited from ilSubEnabledFormPropertyGUI
 $sub_items = array()
 
- Protected Attributes inherited from ilFormPropertyGUI
 $ctrl
 
 $lng
 
 $type
 
 $title
 
 $postvar
 
 $info
 
 $alert
 
 $required = false
 
 $parentgui
 
 $parentform
 
 $hidden_title = ""
 
 $multi = false
 
 $multi_sortable = false
 
 $multi_addremove = true
 
 $multi_values
 

Additional Inherited Members

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

Detailed Description

This class represents a date/time property in a property form.

Author
Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e
Version
$Id$

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

Constructor & Destructor Documentation

◆ __construct()

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

Constructor.

Parameters
string$a_titleTitle
string$a_postvarPost Variable

Reimplemented from ilFormPropertyGUI.

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

45 {
46 global $DIC;
47
48 $this->lng = $DIC->language();
49 $this->user = $DIC->user();
50 parent::__construct($a_title, $a_postvar);
51 $this->setType("datetime");
52 }
user()
Definition: user.php:4
setType($a_type)
Set Type.
global $DIC
Definition: goto.php:24
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc

References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ilFormPropertyGUI\setType(), and 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.

Returns
boolean Input ok, true/false

Reimplemented from ilFormPropertyGUI.

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

199 {
201
202 if ($this->getDisabled()) {
203 return true;
204 }
205
206 $post = $_POST[$this->getPostVar()];
207
208 // always done to make sure there are no obsolete values left
209 $this->setDate(null);
210
211 $valid = false;
212 if (trim($post)) {
214 if ($parsed) {
215 $this->setDate($parsed);
216 $valid = true;
217 }
218 } elseif (!$this->getRequired()) {
219 $valid = true;
220 }
221
222 if ($valid &&
223 $this->getDate() &&
224 $this->getStartYear() &&
225 $this->getDate()->get(IL_CAL_FKT_DATE, "Y") < $this->getStartYear()) {
226 $valid = false;
227 }
228
229 if (!$valid) {
230 $this->invalid_input = $post;
231 $_POST[$this->getPostVar()] = null;
232
233 $this->setAlert($lng->txt("form_msg_wrong_date"));
234 } else {
235 if ($this->getDate() !== null) {
236 // getInput() should return a generic format
237 $post_format = $this->getShowTime()
239 : IL_CAL_DATE;
240 $this->valid_incoming_datetime = $this->getDate();
241 $_POST[$this->getPostVar()] = $this->getDate()->get($post_format);
242 } else {
243 $_POST[$this->getPostVar()] = null;
244 }
245 }
246
247 if ($valid) {
248 $valid = $this->checkSubItemsInput();
249 }
250
251 return $valid;
252 }
$_POST["username"]
const IL_CAL_DATE
const IL_CAL_DATETIME
const IL_CAL_FKT_DATE
static parseIncomingDate($a_value, $a_add_time=null)
Try to parse incoming value to date object.
getShowTime()
Get Show Time Information.
getDate()
Get Date, yyyy-mm-dd.
setDate(ilDateTime $a_date=null)
set date E.g $dt_form->setDate(new ilDateTime(time(),IL_CAL_UTC)); or $dt_form->setDate(new ilDateTim...
getPostVar()
Get Post Variable.
setAlert($a_alert)
Set Alert Text.
$valid

References $_POST, $lng, $valid, ilSubEnabledFormPropertyGUI\checkSubItemsInput(), getDate(), getDatePickerTimeFormat(), ilFormPropertyGUI\getDisabled(), ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), getShowTime(), getStartYear(), IL_CAL_DATE, IL_CAL_DATETIME, IL_CAL_FKT_DATE, ilCalendarUtil\parseIncomingDate(), ilFormPropertyGUI\setAlert(), and setDate().

+ Here is the call graph for this function:

◆ getDate()

ilDateTimeInputGUI::getDate ( )

Get Date, yyyy-mm-dd.

Returns
object Date, yyyy-mm-dd

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

References $date.

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

+ Here is the caller graph for this function:

◆ getDatePickerTimeFormat()

ilDateTimeInputGUI::getDatePickerTimeFormat ( )
protected

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

184 {
185 return (int) $this->getShowTime() + (int) $this->getShowSeconds();
186 }
getShowSeconds()
Get Show Seconds.

References getShowSeconds(), and getShowTime().

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

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

◆ getMinuteStepSize()

ilDateTimeInputGUI::getMinuteStepSize ( )

Get minute step size.

@access public

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

References $minute_step_size.

Referenced by parseDatePickerConfig().

+ Here is the caller graph for this function:

◆ getOnloadCode()

ilDateTimeInputGUI::getOnloadCode ( )

Get onload code.

Returns
array

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

352 : array
353 {
354 $code = [];
355 if (!$this->getDisabled()) {
356 $picker_id = md5($this->getPostVar());
357
359 $picker_id,
361 $this->parseDatePickerConfig(),
362 null,
363 null,
364 null,
365 "subform_" . $this->getPostVar()
366 );
367 }
368 return $code;
369 }
static getCodeForPicker($a_id, $a_add_time=null, array $a_custom_config=null, $a_id2=null, $a_custom_config2=null, $a_toggle_id=null, $a_subform_id=null)
Add date time picker to element.
parseDatePickerConfig()
parse properties to datepicker config

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

+ Here is the call graph for this function:

◆ getPostValueForComparison()

ilDateTimeInputGUI::getPostValueForComparison ( )

parse post value to make it comparable

used by combination input gui

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

431 {
432 // :TODO:
433 return trim($_POST[$this->getPostVar()]);
434 }

References $_POST, and ilFormPropertyGUI\getPostVar().

+ Here is the call graph for this function:

◆ getShowSeconds()

ilDateTimeInputGUI::getShowSeconds ( )

Get Show Seconds.

Returns
boolean Show Seconds

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

References $showseconds.

Referenced by getDatePickerTimeFormat().

+ Here is the caller graph for this function:

◆ getShowTime()

ilDateTimeInputGUI::getShowTime ( )

Get Show Time Information.

Returns
boolean Show Time Information

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

References $showtime.

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

+ Here is the caller graph for this function:

◆ getSideBySide()

ilDateTimeInputGUI::getSideBySide ( )

Get side by side.

Returns
bool side by side

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

267 : bool
268 {
269 return $this->side_by_side;
270 }

References $side_by_side.

Referenced by parseDatePickerConfig().

+ Here is the caller graph for this function:

◆ getStartYear()

ilDateTimeInputGUI::getStartYear ( )

Get start year.

Returns
integer Start year

Reimplemented in ilBirthdayInputGUI.

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

References $startyear.

Referenced by checkInput(), and parseDatePickerConfig().

+ Here is the caller graph for this function:

◆ getTableFilterHTML()

ilDateTimeInputGUI::getTableFilterHTML ( )

Get HTML for table filter.

Implements ilTableFilterItem.

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

389 {
390 $html = $this->render();
391 return $html;
392 }
render()
Insert property html.

References render().

+ Here is the call graph for this function:

◆ getToolbarHTML()

ilDateTimeInputGUI::getToolbarHTML ( )

Get HTML for toolbar.

Implements ilToolbarItem.

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

440 {
441 $html = $this->render("toolbar");
442 return $html;
443 }

References render().

+ Here is the call graph for this function:

◆ hasInvalidInput()

ilDateTimeInputGUI::hasInvalidInput ( )

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

189 {
190 return (bool) $this->invalid_input;
191 }

References $invalid_input.

◆ hideSubForm()

ilDateTimeInputGUI::hideSubForm ( )

Sub form hidden on init?

Reimplemented from ilFormPropertyGUI.

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

446 {
447 return (!$this->getDate() || $this->getDate()->isNull());
448 }

References getDate().

+ Here is the call graph for this function:

◆ insert()

ilDateTimeInputGUI::insert (   $a_tpl)

Insert property html.

Returns
int Size

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

377 {
378 $html = $this->render();
379
380 $a_tpl->setCurrentBlock("prop_generic");
381 $a_tpl->setVariable("PROP_GENERIC", $html);
382 $a_tpl->parseCurrentBlock();
383 }

References render().

+ Here is the call graph for this function:

◆ parseDatePickerConfig()

ilDateTimeInputGUI::parseDatePickerConfig ( )
protected

parse properties to datepicker config

Returns
array

Reimplemented in ilBirthdayInputGUI.

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

279 {
280 $config = null;
281 if ($this->getMinuteStepSize()) {
282 $config['stepping'] = (int) $this->getMinuteStepSize();
283 }
284 if ($this->getStartYear()) {
285 $config['minDate'] = $this->getStartYear() . '-01-01';
286 }
287 $config['sideBySide'] = $this->getSideBySide();
288 return $config;
289 }
getMinuteStepSize()
Get minute step size.
getSideBySide()
Get side by side.
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition: metadata.php:68

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 ( )

Insert property html.

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

296 {
299
300 $tpl = new ilTemplate("tpl.prop_datetime.html", true, true, "Services/Form");
301
302 // config picker
303 if (!$this->getDisabled()) {
304 $picker_id = md5($this->getPostVar()); // :TODO: unique?
305 $tpl->setVariable('DATEPICKER_ID', $picker_id);
306
308 $picker_id,
310 $this->parseDatePickerConfig(),
311 null,
312 null,
313 null,
314 "subform_" . $this->getPostVar()
315 );
316 } else {
317 $tpl->setVariable('DATEPICKER_DISABLED', 'disabled="disabled" ');
318 }
319
320 // :TODO: i18n?
322 $tpl->setVariable('PLACEHOLDER', $pl_format);
323
324 // accessibility description
325 $tpl->setVariable(
326 'DESCRIPTION',
327 ilUtil::prepareFormOutput($lng->txt("form_date_aria_desc") . " " . $pl_format)
328 );
329
330 // current value
331 $date_value = htmlspecialchars($this->invalid_input);
332 if (!$date_value &&
333 $this->getDate()) {
335 $date_value = $this->getDate()->get(IL_CAL_FKT_DATE, $out_format, $ilUser->getTimeZone());
336 }
337
338 $tpl->setVariable('DATEPICKER_VALUE', $date_value);
339 $tpl->setVariable('DATE_ID', $this->getPostVar());
340
341 if ($this->getRequired()) {
342 $tpl->setVariable("REQUIRED", "required=\"required\"");
343 }
344
345 return $tpl->get();
346 }
static addDateTimePicker($a_id, $a_add_time=null, array $a_custom_config=null, $a_id2=null, $a_custom_config2=null, $a_toggle_id=null, $a_subform_id=null)
Add date time picker to element.
static getUserDateFormat($a_add_time=false, $a_for_parsing=false)
Parse current user setting into date/time format.
special template class to simplify handling of ITX/PEAR
static prepareFormOutput($a_str, $a_strip=false)
prepares string output for html forms @access public
$ilUser
Definition: imgupload.php:18
if($DIC->http() ->request() ->getMethod()=="GET" &&isset($DIC->http() ->request() ->getQueryParams()['tex'])) $tpl
Definition: latex.php:41

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

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 ( )

serialize data

Reimplemented from ilFormPropertyGUI.

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

398 {
399 if ($this->getDate()) {
400 return serialize($this->getDate()->get(IL_CAL_UNIX));
401 }
402 }
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));
Parameters
object$a_dateilDate or ilDateTime object

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

66 {
67 $this->date = $a_date;
68 }

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

+ Here is the caller graph for this function:

◆ setMinuteStepSize()

ilDateTimeInputGUI::setMinuteStepSize (   $a_step_size)

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

@access public

Parameters
intminute step_size 1,5,10,15,20...

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

129 {
130 $this->minute_step_size = $a_step_size;
131 }

◆ setShowSeconds()

ilDateTimeInputGUI::setShowSeconds (   $a_showseconds)

Set Show Seconds.

Parameters
boolean$a_showsecondsShow Seconds

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

150 {
151 $this->showseconds = $a_showseconds;
152 }

◆ setShowTime()

ilDateTimeInputGUI::setShowTime (   $a_showtime)

Set Show Time Information.

Parameters
boolean$a_showtimeShow Time Information

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

86 {
87 $this->showtime = $a_showtime;
88 }

◆ setSideBySide()

ilDateTimeInputGUI::setSideBySide ( bool  $a_val)

Set side by side.

Parameters
bool$a_valside by side

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

259 {
260 $this->side_by_side = $a_val;
261 }

◆ setStartYear()

ilDateTimeInputGUI::setStartYear (   $a_year)

Set start year.

Parameters
integerStart year

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

106 {
107 $this->startyear = $a_year;
108 }

◆ setValueByArray()

ilDateTimeInputGUI::setValueByArray (   $a_values)

Set value by array.

Parameters
array$a_valuesvalue array

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

170 {
171 if ($this->valid_incoming_datetime !== null) {
172 $this->setDate($this->valid_incoming_datetime);
173 } else {
174 $incoming = $a_values[$this->getPostVar()];
176 }
177
178 foreach ($this->getSubItems() as $item) {
179 $item->setValueByArray($a_values);
180 }
181 }

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

+ Here is the call graph for this function:

◆ unserializeData()

ilDateTimeInputGUI::unserializeData (   $a_data)

unserialize data

Reimplemented from ilFormPropertyGUI.

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

408 {
409 $tmp = unserialize($a_data);
410 if ($tmp) {
411 // we used to serialize the complete instance
412 if (is_object($tmp)) {
413 $date = $tmp;
414 } else {
415 $date = $this->getShowTime()
416 ? new ilDateTime($tmp, IL_CAL_UNIX)
417 : new ilDate($tmp, IL_CAL_UNIX);
418 }
419 $this->setDate($date);
420 } else {
421 $this->setDate(null);
422 }
423 }
@classDescription Date and time handling
Class for single dates.

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

+ Here is the call graph for this function:

Field Documentation

◆ $date

ilDateTimeInputGUI::$date
protected

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

Referenced by getDate(), and unserializeData().

◆ $invalid_input

ilDateTimeInputGUI::$invalid_input = ''
protected

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

Referenced by hasInvalidInput().

◆ $lng

ilDateTimeInputGUI::$lng
protected

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

Referenced by checkInput(), and render().

◆ $minute_step_size

ilDateTimeInputGUI::$minute_step_size = 5
protected

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

Referenced by getMinuteStepSize().

◆ $showseconds

ilDateTimeInputGUI::$showseconds = false
protected

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

Referenced by getShowSeconds().

◆ $showtime

ilDateTimeInputGUI::$showtime = false
protected

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

Referenced by getShowTime().

◆ $side_by_side

ilDateTimeInputGUI::$side_by_side = true
protected

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

Referenced by getSideBySide().

◆ $startyear

ilDateTimeInputGUI::$startyear = ''
protected

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

Referenced by getStartYear().

◆ $time

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

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

◆ $user

ilDateTimeInputGUI::$user
protected

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

Referenced by render().

◆ $valid_incoming_datetime

ilDateTimeInputGUI::$valid_incoming_datetime = null
protected

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


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