ILIAS
trunk Revision v11.0_alpha-1749-g1a06bdef097
◀ 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
Custom.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\UI\Implementation\Component\Symbol\Icon
;
22
23
use
ILIAS\UI\Component
as
C
;
24
25
class
Custom
extends
Icon
implements C\Symbol\Icon\Custom
26
{
27
private
string
$icon_path
;
28
29
public
function
__construct
(
string
$icon_path,
string
$label
,
string
$size
,
bool
$is_disabled
)
30
{
31
$this->checkArgIsElement(
32
"size"
,
33
$size,
34
self::$possible_sizes,
35
implode(
'/'
, self::$possible_sizes)
36
);
37
$this->name =
'custom'
;
38
$this->icon_path =
$icon_path
;
39
$this->label =
$label
;
40
$this->size =
$size
;
41
$this->is_disabled =
$is_disabled
;
42
}
43
47
public
function
getIconPath
(): string
48
{
49
return
$this->icon_path
;
50
}
51
}
ILIAS\UI\Implementation\Component\Symbol\Icon
Definition:
Custom.php:21
Standard
ILIAS\UI\Implementation\Component\Symbol\Icon\Custom\__construct
__construct(string $icon_path, string $label, string $size, bool $is_disabled)
Definition:
Custom.php:29
ILIAS\UI\Component
ILIAS\UI\Implementation\Component\Symbol\Icon\Icon\$is_disabled
bool $is_disabled
Definition:
Icon.php:46
Transformation
ILIAS\UI\Implementation\Component\Symbol\Icon\Icon\$size
string $size
Definition:
Icon.php:44
ILIAS\UI\Implementation\Component\Symbol\Icon\Custom\getIconPath
getIconPath()
Definition:
Custom.php:47
ILIAS\UI\Implementation\Component\Symbol\Icon\Icon\$label
string $label
Definition:
Icon.php:43
ILIAS\UI\Implementation\Component\Symbol\Icon\Custom\$icon_path
string $icon_path
Definition:
Custom.php:27
components
ILIAS
UI
src
Implementation
Component
Symbol
Icon
Custom.php
Generated on Wed Apr 9 2025 23:02:24 for ILIAS by
1.8.13 (using
Doxyfile
)