ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
class.ilBirthdayInputGUI.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
27 {
28  public function getStartYear(): int
29  {
30  return date("Y") - 100;
31  }
32 
33  protected function parseDatePickerConfig(): array
34  {
35  $config = parent::parseDatePickerConfig();
36 
37  $config["viewMode"] = "years";
38  $config["calendarWeeks"] = false;
39  $config["showTodayButton"] = false;
40 
41  return $config;
42  }
43 }
This class represents a date/time property in a property form.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...