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
}
$default
$default
Definition:
build.php:20
php
An exception for terminatinating execution or to throw for unit testing.
$action
$action
Definition:
consentAdmin.php:140
ILIAS\UI\Component\Button\Factory
This is how a factory for buttons looks like.
Definition:
Factory.php:13
ILIAS\UI\Component\Button\Factory\toggle
toggle(string $label, $on_action, $off_action, bool $is_on=false, Signal $click_signal=null)
ILIAS\UI\Component\Button\Factory\bulky
bulky($icon_or_glyph, $label, $action)
ILIAS\UI\Component\Button\Factory\month
month($default)
ILIAS\UI\Component\Button\Factory\tag
tag($label, $action)
ILIAS\UI\Component\Button\Factory\close
close()
ILIAS\UI\Component\Button\Factory\standard
standard($label, $action)
ILIAS\UI\Component\Button\Factory\primary
primary($label, $action)
ILIAS\UI\Component\Button\Factory\shy
shy($label, $action)
ILIAS\UI\Component\Button\Toggle
This describes a toggle button.
Definition:
Toggle.php:16
ILIAS\UI\Component\Component
A component is the most general form of an entity in the UI.
Definition:
Component.php:14
ILIAS\UI\Component\Signal
Definition:
Signal.php:14
ILIAS\UI\Component\Button
Definition:
Bulky.php:4
ILIAS
Class BaseForm.
UI
Class Factory.
src
UI
Component
Button
Factory.php
Generated on Thu Oct 2 2025 19:02:04 for ILIAS by
1.9.4 (using
Doxyfile
)