ILIAS  release_8 Revision v8.24
Sortation.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
22
27
32{
36 public function withLabel(string $label): Sortation;
37
41 public function getLabel(): string;
42
48 public function withTargetURL(string $url, string $parameter_name): Sortation;
49
53 public function getTargetURL(): ?string;
54
58 public function getParameterName(): string;
59
65 public function getOptions(): array;
66
72 public function withOnSort(Signal $signal): Sortation;
73
77 public function getSelectSignal(): Signal;
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.
withLabel(string $label)
Set the initial, non-functional entry.
withTargetURL(string $url, string $parameter_name)
Get a Sortation with this target-url.
getSelectSignal()
Get the Signal for the selection of a option.
getOptions()
Get the sorting-options.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Factory.php:21
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
$url