ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
Factory.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 2016 Richard Klees <richard.klees@concepts-and-training.de> Extended GPL, see docs/LICENSE */
4 
6 
8 
12 interface Factory
13 {
63  public function standard($label, $action);
64 
121  public function primary($label, $action);
122 
146  public function close();
147 
169  public function shy($label, $action);
170 
196  public function month($default);
197 
232  public function tag($label, $action);
233 
291  public function bulky($icon_or_glyph, $label, $action);
292 
343  public function toggle(string $label, $on_action, $off_action, bool $is_on = false, Signal $click_signal = null) : \ILIAS\UI\Component\Button\Toggle;
344 }
close()
description: purpose: > The close button triggers the closing of some collection displayed temporari...
Builds a Color from either hex- or rgb values.
Definition: Factory.php:13
bulky($icon_or_glyph, $label, $action)
description: purpose: > The bulky button is highly obtrusive.
toggle(string $label, $on_action, $off_action, bool $is_on=false, Signal $click_signal=null)
description: purpose: > The Toggle Button triggers the activation/deactivation of some control alrea...
This describes a toggle button.
Definition: Toggle.php:12
standard($label, $action)
description: purpose: > The standard button is the default button to be used in ILIAS.
month($default)
description: purpose: > The Month Button enables to select a specific month to fire some action (pro...
tag($label, $action)
description: purpose: > Tags classify entities.
primary($label, $action)
description: purpose: > The primary button indicates the most important action on a screen...
shy($label, $action)
description: purpose: > Shy buttons are used in contexts that need a less obtrusive presentation tha...