ILIAS
trunk Revision v11.0_alpha-1831-g8615d53dadb
|
Public Member Functions | |
withOnClose (Signal $signal) | |
Get a component like this, triggering a signal of another component on close. More... | |
appendOnClose (Signal $signal) | |
Get a component like this, triggering a signal of another component on close. 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 Closable.php.
ILIAS\UI\Component\Closable::appendOnClose | ( | Signal | $signal | ) |
Get a component like this, triggering a signal of another component on close.
In contrast to withOnClose, the signal is appended to existing signals for the close event.
Implemented in ILIAS\UI\Implementation\Component\Modal\Modal, and ILIAS\UI\Implementation\Component\Dropzone\File\File.
ILIAS\UI\Component\Closable::withOnClose | ( | Signal | $signal | ) |
Get a component like this, triggering a signal of another component on close.
Note: Any previous signals registered on close are replaced.
Signal | $signal | A signal of another component |
Implemented in ILIAS\UI\Implementation\Component\Modal\Modal, and ILIAS\UI\Implementation\Component\Dropzone\File\File.