19 declare(strict_types=1);
33 private readonly
string $action,
34 private ?array $predefined_values,
35 private readonly \
ILIAS\
UI\Factory $ui_factory,
42 if (isset($this->events[$event])) {
43 return $this->events[$event];
54 return array_keys($this->events);
61 foreach (array_keys($this->events) as $key) {
62 $checkbox = $this->ui_factory->input()->field()->checkbox($this->
lng->txt($key));
63 if ($this->predefined_values !==
null && isset($this->predefined_values[$key])) {
64 $checkbox = $checkbox->withValue($this->predefined_values[$key]);
67 $items[$key] = $checkbox;
70 $hidden = $this->ui_factory->input()->field()->hidden();
71 if ($this->predefined_values !==
null && isset($this->predefined_values[
'hidden_value'])) {
72 $hidden = $hidden->withValue((
string) $this->predefined_values[
'hidden_value']);
74 $items[
'hidden_value'] = $hidden;
76 return $this->ui_factory->input()->container()->form()->standard(
Interface Observer Contains several chained tasks and infos about them.
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null