19 declare(strict_types=1);
66 if (is_null($value)) {
69 if (is_array($value)) {
70 foreach ($value as $v) {
71 if (!array_key_exists($v, $this->options)) {
85 if ($this->requirement_constraint !== null) {
86 return $this->requirement_constraint;
89 return $this->
refinery->custom()->constraint(
90 fn ($value) => is_array($value) && count($value) > 0,
100 return fn (
$id) =>
"var checkedBoxes = function() { 102 $('#$id').find('li').each(function() { 103 if ($(this).find('input').prop('checked')) { 104 options.push($(this).find('span').text()); 107 return options.join(', '); 109 $('#$id').on('input', function(event) { 110 il.UI.input.onFieldUpdate(event, '$id', checkedBoxes()); 112 il.UI.input.onFieldUpdate(event, '$id', checkedBoxes()); 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(Container $dic, ilPlugin $plugin)
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Refinery Factory $refinery