ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
Mode.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 2016 Timon Amstutz <timon.amstutz@ilub.unibe.ch> Extended GPL, see docs/LICENSE */
4 
6 
7 use \ILIAS\UI\Component\Component;
8 
12 interface Mode extends Component
13 {
19  public function withActive($label);
20 
26  public function getActive();
27 
33  public function getLabelledActions();
34 
40  public function getAriaLabel();
41 }
getAriaLabel()
Get the aria-label on the Viewcontrol.
withActive($label)
set the currently active Button by label.
getLabelledActions()
Get the array containing the actions and labels of the mode control.
getActive()
get the label of the currently active button of the mode control
This describes a Mode Control.
Definition: Mode.php:12