19 declare(strict_types=1);
38 ?array $predefined_values,
50 if (isset($this->events[$event])) {
51 return $this->events[$event];
62 return array_keys($this->events);
69 foreach ($this->events as
$key =>
$id) {
70 $checkbox = $this->ui_factory->input()->field()->checkbox($this->
lng->txt(
$key));
71 if ($this->predefined_values !== null && isset($this->predefined_values[
$key])) {
72 $checkbox = $checkbox->withValue($this->predefined_values[$key]);
75 $items[
$key] = $checkbox;
78 $hidden = $this->ui_factory->input()->field()->hidden();
79 if ($this->predefined_values !== null && isset($this->predefined_values[
'hidden_value'])) {
80 $hidden = $hidden->withValue((
string) $this->predefined_values[
'hidden_value']);
82 $items[
'hidden_value'] = $hidden;
84 return $this->ui_factory->input()->container()->form()->standard(
Class ChatMainBarProvider .
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins