ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Dropdown.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 2017 Alexander Killing <killing@leifos.de> Extended GPL, see docs/LICENSE */
4 
6 
11 
16 {
17 
23  public function getItems();
24 
30  public function getLabel();
31 
37  public function getAriaLabel();
38 
45  public function withLabel($label);
46 
53  public function withAriaLabel($label);
54 }
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
This describes commonalities between all types of Dropdowns.
Definition: Dropdown.php:15
getAriaLabel()
Get the aria-label of the Dropdown.
getLabel()
Get the label of the Dropdown.
withLabel($label)
Get a Dropdown like this, but with an additional/replaced label.
withAriaLabel($label)
Get a Dropdown like this, but with an additional/replaced aria-label.
getItems()
Get the items of the Dropdown.