3 declare(strict_types=1);
32 abstract class Button implements C\Button\Button
48 $this->checkStringOrSignalArg(
"action", $action);
50 if (is_string($action)) {
81 if ($this->action !== null) {
100 $clone = clone $this;
101 $clone->active =
false;
110 $this->action = null;
147 $clone = clone $this;
appendTriggeredSignal(C\Signal $signal, string $event)
Append a triggered signal to other signals of the same event.
withTriggeredSignal(C\Signal $signal, string $event)
Add a triggered signal, replacing any other signals registered on the same event. ...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
getTriggeredSignalsFor(string $event)
Get signals that are triggered for a certain event.
setTriggeredSignal(C\Signal $signal, string $event)
Add a triggered signal, replacing any other signals registered on the same event. ...