ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Sortation.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
27
32{
36 public function withLabelPrefix(string $label_prefix): self;
37
43 public function withTargetURL(string $url, string $parameter_name): self;
44
48 public function getTargetURL(): ?string;
49
53 public function getParameterName(): string;
54
60 public function getOptions(): array;
61
67 public function withOnSort(Signal $signal): self;
68
72 public function getSelectSignal(): Signal;
73
77 public function withSelected(string $selected_option): self;
78}
A component is the most general form of an entity in the UI.
Definition: Component.php:28
Interface to be extended by components that have the possibility to bind to Javascript.
This describes a Sortation Control.
Definition: Sortation.php:32
withOnSort(Signal $signal)
Get a component like this, triggering a signal of another component.
getTargetURL()
Get the url this instance should trigger.
getParameterName()
Get the identifier of this instance.
withLabelPrefix(string $label_prefix)
Set the prefix of the label.
withTargetURL(string $url, string $parameter_name)
Get a Sortation with this target-url.
getSelectSignal()
Get the Signal for the selection of a option.
withSelected(string $selected_option)
Set the selected option.
getOptions()
Get the sorting-options.
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
$url
Definition: shib_logout.php:68