100 $clone = clone $this;
119 $clone = clone $this;
123 $clone->action =
null;
124 $clone->setTriggeredSignal(
$action,
"click");
135 if ($this->action !==
null) {
An exception for terminatinating execution or to throw for unit testing.
appendOnClick(Signal $signal)
withOnClick(Signal $signal)
__construct($type, $source, $alt)
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.
checkStringArg($which, $value)
Throw an InvalidArgumentException if $value is no string.
appendTriggeredSignal(Component\Signal $signal, $event)
Append a triggered signal to other signals of the same event.
getTriggeredSignalsFor($event)
Get signals that are triggered for a certain event.
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
trait ComponentHelper
Provides common functionality for component implementations.
checkArgIsElement($which, $value, $array, $name)
Throw an InvalidArgumentException if $value is not an element of array.