41 $this->lng = $DIC->language();
42 $this->
user = $DIC->user();
43 parent::__construct($a_title, $a_postvar);
60 $this->date = $a_date;
80 $this->showtime = $a_showtime;
100 $this->startyear = $a_year;
123 $this->minute_step_size = $a_step_size;
144 $this->showseconds = $a_showseconds;
168 $item->setValueByArray($a_values);
219 $this->invalid_input =
$post;
224 if ($this->
getDate() !== null) {
268 $tpl =
new ilTemplate(
"tpl.prop_datetime.html",
true,
true,
"Services/Form");
273 $tpl->setVariable(
'DATEPICKER_ID', $picker_id);
285 $tpl->setVariable(
'DATEPICKER_DISABLED',
'disabled="disabled" ');
290 $tpl->setVariable(
'PLACEHOLDER', $pl_format);
299 $date_value = htmlspecialchars($this->invalid_input);
306 $tpl->setVariable(
'DATEPICKER_VALUE', $date_value);
310 $tpl->setVariable(
"REQUIRED",
"required=\"required\"");
325 $a_tpl->setCurrentBlock(
"prop_generic");
326 $a_tpl->setVariable(
"PROP_GENERIC",
$html);
327 $a_tpl->parseCurrentBlock();
354 $tmp = unserialize($a_data);
357 if (is_object($tmp)) {
static prepareFormOutput($a_str, $a_strip=false)
prepares string output for html forms public
Interface for property form input GUI classes that can be used in table filters.
static getUserDateFormat($a_add_time=false, $a_for_parsing=false)
Parse current user setting into date/time format.
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.
special template class to simplify handling of ITX/PEAR
static parseIncomingDate($a_value, $a_add_time=null)
Try to parse incoming value to date object.