ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
All Data Structures Namespaces Files Functions Variables Modules Pages
Dropdown.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
22 
30 
35 {
40  public function getItems(): array;
41 
45  public function getLabel(): ?string;
46 
50  public function getAriaLabel(): ?string;
51 
55  public function withLabel(string $label): Dropdown;
56 
60  public function withAriaLabel(string $label): Dropdown;
61 }
withLabel(string $label)
Get a Dropdown like this, but with an additional/replaced label.
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.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This describes commonalities between all types of Dropdowns.
Definition: Dropdown.php:34
getAriaLabel()
Get the aria-label of the Dropdown.
getLabel()
Get the label of the Dropdown.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Dropdown.php:21
withAriaLabel(string $label)
Get a Dropdown like this, but with an additional/replaced aria-label.
getItems()
Get the items of the Dropdown.