4 require_once(
"./Services/Calendar/classes/class.ilCalendarUtil.php");
5 include_once(
"./Services/Table/interfaces/interface.ilTableFilterItem.php");
32 parent::__construct($a_title, $a_postvar);
49 $this->
date = $a_date;
69 $this->showtime = $a_showtime;
89 $this->startyear = $a_year;
112 $this->minute_step_size = $a_step_size;
133 $this->showseconds = $a_showseconds;
158 $item->setValueByArray($a_values);
216 $this->invalid_input = $post;
219 $this->
setAlert($lng->txt(
"form_msg_wrong_date"));
272 $tpl =
new ilTemplate(
"tpl.prop_datetime.html",
true,
true,
"Services/Form");
278 $tpl->setVariable(
'DATEPICKER_ID', $picker_id);
292 $tpl->setVariable(
'DATEPICKER_DISABLED',
'disabled="disabled" ');
297 $tpl->setVariable(
'PLACEHOLDER', $pl_format);
300 $date_value = htmlspecialchars($this->invalid_input);
308 $tpl->setVariable(
'DATEPICKER_VALUE', $date_value);
313 $tpl->setVariable(
"REQUIRED",
"required=\"required\"");
328 $a_tpl->setCurrentBlock(
"prop_generic");
329 $a_tpl->setVariable(
"PROP_GENERIC",
$html);
330 $a_tpl->parseCurrentBlock();
358 $tmp = unserialize($a_data);
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.
date( 'd-M-Y', $objPHPExcel->getProperties() ->getCreated())
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.