ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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 {
60  public function standard($label, $action);
61 
111  public function primary($label, $action);
112 
136  public function close();
137 
159  public function shy($label, $action);
160 
186  public function month($default);
187 
222  public function tag($label, $action);
223 
273  public function bulky($icon_or_glyph, $label, $action);
274 
322  public function toggle(string $label, $on_action, $off_action, bool $is_on = false, Signal $click_signal = null) : \ILIAS\UI\Component\Button\Toggle;
323 }
$action
close()
description: purpose: > The close button triggers the closing of some collection displayed temporari...
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:15
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.
$default
Definition: build.php:20
primary($label, $action)
description: purpose: > The primary button indicates the most important action on a screen...
This is how a factory for buttons looks like.
Definition: Factory.php:12
shy($label, $action)
description: purpose: > Shy buttons are used in contexts that need a less obtrusive presentation tha...