ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
class.ilBirthdayInputGUI.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
4 include_once("./Services/Form/classes/class.ilDateTimeInputGUI.php");
5 
14 {
15  public function getStartYear()
16  {
17  return date("Y") - 100;
18  }
19 
20  protected function parseDatePickerConfig()
21  {
22  $config = parent::parseDatePickerConfig();
23 
24  $config["viewMode"] = "years";
25  $config["calendarWeeks"] = false;
26  $config["showTodayButton"] = false;
27 
28  return $config;
29  }
30 }
$config
Definition: bootstrap.php:15
This class represents a date/time property in a property form.
This class represents a text property in a property form.