ILIAS
trunk Revision v11.0_alpha-1831-g8615d53dadb
|
Public Member Functions | |
withOnLoad (Signal $signal) | |
Trigger a signal of another component on load. More... | |
appendOnLoad (Signal $signal) | |
Get a component like this, triggering a signal of another component on load. More... | |
![]() | |
withResetTriggeredSignals () | |
Get a component like this but reset any triggered signals of other components. More... | |
getTriggeredSignals () | |
Get all triggered signals of this component. More... | |
![]() | |
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... | |
![]() | |
getCanonicalName () | |
Get the canonical name of the component. More... | |
reduceWith (\Closure $fn) | |
The scheme starts at the leaves of the structure and applies the function to each leave and moves up the tree recursively. More... | |
Definition at line 30 of file Onloadable.php.
ILIAS\UI\Component\Onloadable::appendOnLoad | ( | Signal | $signal | ) |
Get a component like this, triggering a signal of another component on load.
In contrast to withOnLoad, the signal is appended to existing signals for the on load event.
Implemented in ILIAS\UI\Implementation\Component\Dropzone\File\File, and ILIAS\UI\Implementation\Component\Modal\Modal.
ILIAS\UI\Component\Onloadable::withOnLoad | ( | Signal | $signal | ) |
Trigger a signal of another component on load.
Signal | $signal | A signal of another component |
Implemented in ILIAS\UI\Implementation\Component\Dropzone\File\File, and ILIAS\UI\Implementation\Component\Modal\Modal.