ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
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
4include_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}
An exception for terminatinating execution or to throw for unit testing.
This class represents a text property in a property form.
parseDatePickerConfig()
parse properties to datepicker config
This class represents a date/time property in a property form.
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition: metadata.php:68