ILIAS  trunk Revision v11.0_alpha-2645-g16283d3b3f8
ILIAS\UI\Component\Changeable Interface Reference
+ Inheritance diagram for ILIAS\UI\Component\Changeable:
+ Collaboration diagram for ILIAS\UI\Component\Changeable:

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...
 
- Public Member Functions inherited from ILIAS\UI\Component\Component
 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...
 

Detailed Description

Definition at line 30 of file Changeable.php.

Member Function Documentation

◆ appendOnChange()

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.

◆ withOnChange()

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.

Parameters
Signal$signalA signal of another component

The documentation for this interface was generated from the following file: