19 declare(strict_types=1);
    30     protected string $time = 
"00:00:00";
    40         string $a_postvar = 
""    44         $this->
lng = $DIC->language();
    45         $this->
user = $DIC->user();
    61         $this->date = $a_date;
    71         $this->showtime = $a_showtime;
    81         $this->startyear = $a_year;
    96         $this->minute_step_size = $a_step_size;
   109         $incoming = $a_values[$this->
getPostVar()] ?? 
"";
   113             $item->setValueByArray($a_values);
   161             $this->invalid_input = 
$post;
   174         if ($this->valid && $this->
getDate() !== null) {
   179             return $this->
getDate()->get($post_format);
   203         $tpl = 
new ilTemplate(
"tpl.prop_datetime.html", 
true, 
true, 
"components/ILIAS/Form");
   208             $tpl->setVariable(
'DATEPICKER_ID', $picker_id);
   210             $tpl->setVariable(
'DATEPICKER_DISABLED', 
'disabled="disabled" ');
   215             $type = 
'datetime-local';
   217         $tpl->setVariable(
'DATEPICKER_TYPE', 
$type);
   221         $date_value = htmlspecialchars($this->invalid_input);
   226         $tpl->setVariable(
'DATEPICKER_START_VALUE', $date_value);
   236         $tpl->setVariable(
'DATEPICKER_STEP', $step_size);
   239             $min = DateTimeImmutable::createFromFormat(
   243             $tpl->setVariable(
'DATEPICKER_MIN', $min);
   246         $tpl->setVariable(
'DATEPICKER_VALUE', $date_value);
   247         $tpl->setVariable(
'DATE_ID', $this->
getPostVar());
   250             $tpl->setVariable(
"REQUIRED", 
"required=\"required\"");
   287         $tmp = unserialize($a_data);
   290             if (is_object($tmp)) {
 
parseCurrentBlock(string $part=ilGlobalTemplateInterface::DEFAULT_BLOCK)
 
static parseIncomingDate($value, bool $add_time=false)
Try to parse incoming value to date object. 
 
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
 
setVariable($variable, $value='')
Sets a variable value. 
 
setCurrentBlock(string $part=ilGlobalTemplateInterface::DEFAULT_BLOCK)
 
__construct(Container $dic, ilPlugin $plugin)