16 abstract class Button implements C\Button\Button
85 if ($this->action !== null) {
104 $clone = clone $this;
105 $clone->active =
false;
114 $this->action = null;
152 $clone = clone $this;
170 $clone = clone $this;
171 $clone->aria_checked =
true;
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
trait ComponentHelper
Provides common functionality for component implementations.
checkStringArg($which, $value)
Throw an InvalidArgumentException if $value is no string.
getTriggeredSignalsFor($event)
Get signals that are triggered for a certain event.
setTriggeredSignal(Component\Signal $signal, $event)
Add a triggered signal, replacing any othe signals registered on the same event.
appendTriggeredSignal(Component\Signal $signal, $event)
Append a triggered signal to other signals of the same event.
checkStringOrSignalArg($which, $value)
Throw an InvalidArgumentException if $value is no string or Signal.
withTriggeredSignal(Component\Signal $signal, $event)
Add a triggered signal, replacing any other signals registered on the same event. ...