19 declare(strict_types=1);
63 $this->format = $data_factory->dateFormat()->standard();
65 $datetime_trafo = $refinery->to()->dateTime();
67 $this->setAdditionalTransformation($trafo);
72 return $this->
refinery->custom()->transformation(
73 function ($v) use ($or_trafo) {
77 return $or_trafo->transform($v);
106 $clone = clone $this;
119 $timezone_trafo = $this->
refinery->dateTime()->changeTimezone($tz);
120 $clone = clone $this;
121 $clone->timezone = $tz;
124 $clone = $clone->withAdditionalTransformation($trafo);
135 $clone = clone $this;
147 $clone = clone $this;
159 $clone = clone $this;
171 $clone = clone $this;
172 $clone->with_time_only = $time_only;
187 if (!is_string($value)) {
192 new \DateTimeImmutable($value);
206 if ($this->requirement_constraint !== null) {
207 return $this->requirement_constraint;
210 return $this->
refinery->logical()->sequential([
212 $this->
refinery->string()->hasMinLength(1)
233 $clone = clone $this;
234 $clone->additional_picker_config = array_merge($clone->additional_picker_config, $config);
240 return fn(
$id) =>
"$('#$id').on('input dp.change', function(event) { 241 il.UI.input.onFieldUpdate(event, '$id', $('#$id').find('input').val()); 243 il.UI.input.onFieldUpdate(event, '$id', $('#$id').find('input').val());";
Class ChatMainBarProvider .
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
A constraint encodes some resrtictions on values.
withProblemBuilder(callable $builder)
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Refinery Factory $refinery