80 $this->format = $data_factory->dateFormat()->standard();
82 $datetime_trafo = $refinery->to()->dateTime();
84 $this->setAdditionalTransformation($trafo);
90 return $this->refinery->custom()->transformation(
91 function ($v) use ($or_trafo) {
95 return $or_trafo->transform($v);
105 $clone = clone $this;
123 $timezone_trafo = $this->refinery->dateTime()->changeTimezone($tz);
124 $clone = clone $this;
125 $clone->timezone =
$tz;
128 return $clone->withAdditionalTransformation($trafo);
136 return $this->timezone;
144 $clone = clone $this;
145 $clone->min_date = $date;
154 return $this->min_date;
162 $clone = clone $this;
163 $clone->max_date = $date;
172 return $this->max_date;
180 $clone = clone $this;
181 $clone->with_time = $with_time;
190 return $this->with_time;
198 $clone = clone $this;
199 $clone->with_time_only = $with_time_only;
208 return $this->with_time_only;
216 return is_string($value);
224 return $this->refinery->string()->hasMinLength(1);
233 return $this->additional_picker_config;
243 $clone = clone $this;
244 $clone->additional_picker_config = array_merge($clone->additional_picker_config, $config);
253 return function ($id) {
254 $code =
"$('#$id').on('input dp.change', function(event) { 255 il.UI.input.onFieldUpdate(event, '$id', $('#$id').find('input').val()); 257 il.UI.input.onFieldUpdate(event, '$id', $('#$id').find('input').val());";
Class ChatMainBarProvider .
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
trait ComponentHelper
Provides common functionality for component implementations.
__construct(Container $dic, ilPlugin $plugin)