ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
withOnChange (Signal $signal) | |
Get a component like this, triggering a signal of another component on change. More... | |
appendOnChange (Signal $signal) | |
Get a component like this, triggering a signal of another component on change. More... | |
Public Member Functions inherited from ILIAS\UI\Component\Triggerer | |
withResetTriggeredSignals () | |
Get a component like this but reset any triggered signals of other components. More... | |
getTriggeredSignals () | |
Get all triggered signals of this component. More... | |
Public Member Functions inherited from ILIAS\UI\Component\JavaScriptBindable | |
withOnLoadCode (\Closure $binder) | |
withAdditionalOnLoadCode (\Closure $binder) | |
Add some onload-code to the component instead of replacing the existing one. More... | |
getOnLoadCode () | |
Get the currently bound on load code. More... | |
Definition at line 11 of file Changeable.php.
ILIAS\UI\Component\Changeable::appendOnChange | ( | Signal | $signal | ) |
Get a component like this, triggering a signal of another component on change.
In contrast to withOnChange, the signal is appended to existing signals for the change event.
Signal | $signal |
ILIAS\UI\Component\Changeable::withOnChange | ( | Signal | $signal | ) |
Get a component like this, triggering a signal of another component on change.
Note: Any previous signals registered on change are replaced.
Signal | $signal | A signal of another component |