19 declare(strict_types=1);
48 $trafo_numericOrNull = $this->
refinery->byTrying([
54 $this->setAdditionalTransformation($trafo_numericOrNull);
62 return is_numeric($value) || $value ===
"" || $value === null;
70 if ($this->requirement_constraint !== null) {
71 return $this->requirement_constraint;
74 return $this->
refinery->numeric()->isNumeric();
82 return fn (
$id) =>
"$('#$id').on('input', function(event) { 83 il.UI.input.onFieldUpdate(event, '$id', $('#$id').val()); 85 il.UI.input.onFieldUpdate(event, '$id', $('#$id').val());";
Class ChatMainBarProvider .
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
A constraint encodes some resrtictions on values.
__construct()
Constructor setup ILIAS global object public.
withProblemBuilder(callable $builder)
__construct(Container $dic, ilPlugin $plugin)
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Refinery Factory $refinery