ILIAS
trunk Revision v11.0_alpha-1715-g7fc467680fb
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
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
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
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
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
Bulky.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\UI\Implementation\Component\Button
;
22
23
use
ILIAS\UI\Component
as
C
;
24
use
ILIAS\UI\Component\Symbol\Symbol
;
25
29
class
Bulky
extends
Button
implements C\Button\Bulky
30
{
31
// allowed ARIA roles
32
public
const
MENUITEM
=
'menuitem'
;
33
34
protected
?
string
$aria_role
=
null
;
35
39
protected
static
array
$allowed_aria_roles
= array(self::MENUITEM);
40
41
public
function
__construct
(
string
$label,
string
$action
)
42
{
43
$this->label = $label;
44
$this->action =
$action
;
45
}
46
55
public
function
withAriaRole
(
string
$aria_role):
C
\
Button
\
Bulky
56
{
57
$this->checkArgIsElement(
58
"role"
,
59
$aria_role,
60
self::$allowed_aria_roles,
61
implode(
'/'
, self::$allowed_aria_roles)
62
);
63
$clone = clone $this;
64
$clone->aria_role =
$aria_role
;
65
return
$clone;
66
}
67
71
public
function
getAriaRole
(): ?string
72
{
73
return
$this->aria_role
;
74
}
75
}
Standard
ILIAS\UI\Implementation\Component\Button\Bulky\getAriaRole
getAriaRole()
Get the ARIA role on the button.
Definition:
Bulky.php:71
ILIAS\UI\Implementation\Component\Button\Bulky
Bulky Button.
Definition:
Bulky.php:29
ILIAS\UI\Component
ILIAS\UI\Implementation\Component\Button\Bulky\$allowed_aria_roles
static array $allowed_aria_roles
Definition:
Bulky.php:39
Symbol
null
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Definition:
shib_logout.php:142
ILIAS\UI\Implementation\Component\Button
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
Bulky.php:21
ILIAS\UI\Implementation\Component\Button\Bulky\$aria_role
string $aria_role
Definition:
Bulky.php:34
ILIAS\UI\Implementation\Component\Button\Button\$action
string $action
Definition:
Button.php:43
ILIAS\UI\Implementation\Component\Button\Bulky\MENUITEM
const MENUITEM
Definition:
Bulky.php:32
ILIAS\UI\Implementation\Component\Button\Bulky\withAriaRole
withAriaRole(string $aria_role)
Get a button like this, but with an additional ARIA role.
Definition:
Bulky.php:55
ILIAS\UI\Implementation\Component\Button\Bulky\__construct
__construct(string $label, string $action)
Definition:
Bulky.php:41
components
ILIAS
UI
src
Implementation
Component
Button
Bulky.php
Generated on Sat Apr 5 2025 23:04:23 for ILIAS by
1.8.13 (using
Doxyfile
)