ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
p
r
s
t
w
+
Functions
_
a
b
c
f
g
h
i
r
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
Button.php
Go to the documentation of this file.
1
<?php
2
3
/* Copyright (c) 2015 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\Clickable
;
8
use
ILIAS\UI\Component\Component
;
9
use
ILIAS\UI\Component\Hoverable
;
10
use
ILIAS\UI\Component\JavaScriptBindable
;
11
use
ILIAS\UI\Component\Signal
;
12
16
interface
Button
extends
Component
,
JavaScriptBindable
,
Clickable
,
Hoverable
,
Engageable
17
{
23
public
function
getLabel
();
24
31
public
function
withLabel
($label);
32
39
public
function
getAction
();
40
46
public
function
isActive
();
47
56
public
function
withUnavailableAction
();
57
64
public
function
withAriaLabel
($aria_label);
65
71
public
function
getAriaLabel
();
72
78
public
function
withOnClick
(
Signal
$signal);
79
}
ILIAS\UI\Component\Button\Button\withLabel
withLabel($label)
Get a button like this, but with an additional/replaced label.
ILIAS\UI\Component\Hoverable
Definition:
Hoverable.php:11
Clickable
JavaScriptBindable
ILIAS\UI\Component\Button\Button\isActive
isActive()
Get to know if the button is activated.
ILIAS\UI\Component\Button\Button\withUnavailableAction
withUnavailableAction()
Get a button like this, but action should be unavailable atm.
ILIAS\UI\Component
ILIAS\UI\Implementation\Component\JavaScriptBindable
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
Definition:
JavaScriptBindable.php:12
Component
Engageable
ILIAS\UI\Component\Button
Definition:
Bulky.php:4
ILIAS\UI\Component\Button\Button\getAction
getAction()
Get the action of the button, i.e.
ILIAS\UI\Component\Button\Button\getLabel
getLabel()
Get the label on the button.
ILIAS\UI\Component\Button\Button\withOnClick
withOnClick(Signal $signal)
ILIAS\UI\Component\Signal
Definition:
Signal.php:13
ILIAS\UI\Component\Clickable
Definition:
Clickable.php:11
ILIAS\UI\Component\Button\Button\withAriaLabel
withAriaLabel($aria_label)
Get a button like this, but with an additional/replaced aria-label.
Signal
ILIAS\UI\Component\Button\Button\getAriaLabel
getAriaLabel()
Get the aria-label on the button.
Hoverable
src
UI
Component
Button
Button.php
Generated on Fri Apr 4 2025 21:01:49 for ILIAS by
1.8.13 (using
Doxyfile
)