ILIAS  trunk Revision v11.0_alpha-1769-g99a433fe2dc
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
Sortation.php
Go to the documentation of this file.
1 <?php
2 
19 declare(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 }
withTargetURL(string $url, string $parameter_name)
Get a Sortation with this target-url.
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
getTargetURL()
Get the url this instance should trigger.
getSelectSignal()
Get the Signal for the selection of a option.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
$url
Definition: shib_logout.php:66
withLabelPrefix(string $label_prefix)
Set the prefix of the label.
withOnSort(Signal $signal)
Get a component like this, triggering a signal of another component.
This describes a Sortation Control.
Definition: Sortation.php:31
getOptions()
Get the sorting-options.
withSelected(string $selected_option)
Set the selected option.
getParameterName()
Get the identifier of this instance.