ILIAS  trunk Revision v11.0_alpha-2645-g16283d3b3f8
Mode.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
24 
28 interface Mode extends Component
29 {
35  public function withActive(string $label): Mode;
36 
42  public function getActive(): ?string;
43 
49  public function getLabelledActions(): array;
50 
54  public function getAriaLabel(): string;
55 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getAriaLabel()
Get the aria-label on the ViewControl.
getLabelledActions()
Get the array containing the actions and labels of the mode control.
withActive(string $label)
set the currently active/engaged Button by label.
getActive()
get the label of the currently active/engaged button of the mode control
This describes a Mode Control.
Definition: Mode.php:28