ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
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
5
namespace
ILIAS\UI\Component\Button
;
6
7
use
ILIAS\UI\Component\Signal
;
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
$action
Definition:
consentAdmin.php:140
ILIAS\UI\Component\Button\Factory\close
close()
description: purpose: > The close button triggers the closing of some collection displayed temporari...
ILIAS\UI\Component\Button
Definition:
Bulky.php:4
ILIAS\UI\Component\Button\Factory\bulky
bulky($icon_or_glyph, $label, $action)
description: purpose: > The bulky button is highly obtrusive.
ILIAS\UI\Component\Button\Factory\toggle
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...
ILIAS\UI\Component\Button\Toggle
This describes a toggle button.
Definition:
Toggle.php:15
ILIAS\UI\Component\Button\Factory\standard
standard($label, $action)
description: purpose: > The standard button is the default button to be used in ILIAS.
ILIAS\UI\Component\Button\Factory\month
month($default)
description: purpose: > The Month Button enables to select a specific month to fire some action (pro...
ILIAS\UI\Component\Button\Factory\tag
tag($label, $action)
description: purpose: > Tags classify entities.
$default
$default
Definition:
build.php:20
ILIAS\UI\Component\Signal
Definition:
Signal.php:13
php
ILIAS\UI\Component\Button\Factory\primary
primary($label, $action)
description: purpose: > The primary button indicates the most important action on a screen...
Signal
ILIAS\UI\Component\Button\Factory
This is how a factory for buttons looks like.
Definition:
Factory.php:12
ILIAS\UI\Component\Button\Factory\shy
shy($label, $action)
description: purpose: > Shy buttons are used in contexts that need a less obtrusive presentation tha...
src
UI
Component
Button
Factory.php
Generated on Thu Jan 16 2025 19:02:36 for ILIAS by
1.8.13 (using
Doxyfile
)