19declare(strict_types=1);
61 SlotIdentifier $conditional_slot
63 return $this->rawInput($element, $context_element);
71 $dh = $this->data_helper;
72 $input = $this->ui_factory
73 ->dateTime($this->getInputLabelFromElement($this->presenter, $element, $context_element))
74 ->withFormat($this->presenter->utilities()->getUserDateFormat())
76 $this->
refinery->custom()->transformation(
77 function ($v) use ($dh) {
78 return isset($v) ? $dh->datetimeFromObject($v) :
'';
84 $input = $input->withValue($this->dataValueForInput($element->
getData()));
86 return $this->addConstraintsFromElement($this->constraint_dictionary, $element, $input);
91 $date = $this->data_helper->datetimeToObject(
$data->value());
92 return $this->presenter->utilities()->getUserDateFormat()->applyTo($date);
return['delivery_method'=> 'php',]
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc