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}
An exception for terminatinating execution or to throw for unit testing.
A component is the most general form of an entity in the UI.
Definition: Component.php:14
This describes commonalities between all types of Dropdowns.
Definition: Dropdown.php:16
withAriaLabel($label)
Get a Dropdown like this, but with an additional/replaced aria-label.
getAriaLabel()
Get the aria-label of the Dropdown.
getItems()
Get the items of the Dropdown.
getLabel()
Get the label of the Dropdown.
withLabel($label)
Get a Dropdown like this, but with an additional/replaced label.
Interface to be extended by components that have the possibility to bind to Javascript.
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.