ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
Factory.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
25 
29 interface Factory
30 {
80  public function standard(string $label, $action): Standard;
81 
142  public function primary(string $label, $action): Primary;
143 
167  public function close(): Close;
168 
184  public function minimize(): Minimize;
185 
207  public function shy(string $label, $action): Shy;
208 
244  public function month(string $default): Month;
245 
280  public function tag(string $label, $action): Tag;
281 
342  public function bulky(Symbol $symbol, string $label, string $action): Bulky;
343 
393  public function toggle(
394  string $label,
395  $on_action,
396  $off_action,
397  bool $is_on = false,
398  ?Signal $click_signal = null
399  ): Toggle;
400 }
This describes a symbol.
Definition: Symbol.php:29
month(string $default)
description: purpose: > The Month Button enables to select a specific month to fire some action (pro...
close()
description: purpose: > The close button triggers the closing of some collection displayed temporari...
tag(string $label, $action)
description: purpose: > Tags classify entities.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Bulky.php:21
This describes a tag(-button).
Definition: Tag.php:28
primary(string $label, $action)
description: purpose: > The primary button indicates the most important action on a screen...
Builds a Color from either hex- or rgb values.
Definition: Factory.php:30
bulky(Symbol $symbol, string $label, string $action)
description: purpose: > The Bulky Button is highly obtrusive.
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
This describes a standard button.
Definition: Primary.php:26
This describes a toggle button.
Definition: Toggle.php:28
This describes a standard button.
Definition: Standard.php:26
This describes a bulky button.
Definition: Bulky.php:28
shy(string $label, $action)
description: purpose: > Shy buttons are used in contexts that need a less obtrusive presentation tha...
standard(string $label, $action)
description: purpose: > The standard button is the default button to be used in ILIAS.
This describes a close button.
Definition: Close.php:33
minimize()
description: purpose: The minimize button triggers the minimizing of a collection or an overlay...
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...