42 $trafo_numericOrNull = $this->refinery->byTrying([
43 $this->refinery->kindlyTo()->null(),
44 $this->refinery->kindlyTo()->int()
47 return $txt(
"ui_numeric_only");
50 $this->setAdditionalTransformation($trafo_numericOrNull);
58 return is_numeric($value) || $value ===
"" || $value === null;
66 return $this->refinery->kindlyTo()->int();
74 return function ($id) {
75 $code =
"$('#$id').on('input', function(event) { 76 il.UI.input.onFieldUpdate(event, '$id', $('#$id').val()); 78 il.UI.input.onFieldUpdate(event, '$id', $('#$id').val());";
88 return $this->complex;
Class ChatMainBarProvider .
withProblemBuilder(callable $builder)
__construct(Container $dic, ilPlugin $plugin)
__construct($a_client_id=0)
Constructor setup ILIAS global object public.