ILIAS  trunk Revision v11.0_alpha-1761-g6dbbfa7b760
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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 
138  public function primary(string $label, $action): Primary;
139 
163  public function close(): Close;
164 
180  public function minimize(): Minimize;
181 
203  public function shy(string $label, $action): Shy;
204 
230  public function month(string $default): Month;
231 
266  public function tag(string $label, $action): Tag;
267 
328  public function bulky(Symbol $symbol, string $label, string $action): Bulky;
329 
379  public function toggle(
380  string $label,
381  $on_action,
382  $off_action,
383  bool $is_on = false,
384  ?Signal $click_signal = null
385  ): Toggle;
386 }
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
This describes the Month Button.
Definition: Month.php:30
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...