ILIAS
release_8 Revision v8.23
◀ ilDoc Overview
Custom.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
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
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
ButtonContextRenderer.php:21
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
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ILIAS\UI\Implementation\Component\Symbol\Icon\Icon
Definition:
Icon.php:27
ILIAS\UI\Implementation\Component\Symbol\Icon\Icon\$is_disabled
bool $is_disabled
Definition:
Icon.php:46
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\Custom
Definition:
Custom.php:25
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
src
UI
Implementation
Component
Symbol
Icon
Custom.php
Generated on Wed Sep 3 2025 22:02:58 for ILIAS by
1.8.13 (using
Doxyfile
)