ILIAS  trunk Revision v11.0_alpha-1689-g66c127b4ae8
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ProxyFilterField.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
23 use ILIAS\UI\Component as C;
28 
33 class ProxyFilterField implements C\Component, C\JavaScriptBindable, C\Clickable
34 {
35  use ComponentHelper;
37  use Triggerer;
38 
42  public function withOnClick(Signal $signal): C\Clickable
43  {
44  return $this->withTriggeredSignal($signal, 'click');
45  }
46 
50  public function appendOnClick(Signal $signal): C\Clickable
51  {
52  return $this->appendTriggeredSignal($signal, 'click');
53  }
54 }
appendTriggeredSignal(C\Signal $signal, string $event)
Append a triggered signal to other signals of the same event.
Definition: Triggerer.php:47
withTriggeredSignal(C\Signal $signal, string $event)
Add a triggered signal, replacing any other signals registered on the same event. ...
Definition: Triggerer.php:62
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
withOnClick(Signal $signal)
Get a component like this, triggering a signal of another component on click.Note: Any previous signa...
An internal class for the clickable, non-editable Input Fields within Filters.
appendOnClick(Signal $signal)
Get a component like this, triggering a signal of another component on click.In contrast to withOnCli...