ILIAS
release_8 Revision v8.19
◀ 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
n
o
p
r
s
t
u
v
w
x
+
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
j
l
m
p
s
t
u
+
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
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
class.ilSystemStyleIconException.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
24
class
ilSystemStyleIconException
extends
ilSystemStyleExceptionBase
25
{
26
public
const
IMAGES_FOLDER_DOES_NOT_EXIST
= 1001;
27
public
const
ICON_DOES_NOT_EXIST
= 1002;
28
29
protected
function
assignMessageToCode
(): void
30
{
31
switch
($this->code) {
32
case
self::IMAGES_FOLDER_DOES_NOT_EXIST:
33
$this->message =
'Images folder set for this style does not exist or can not be read: '
.
$this->add_info
;
34
break
;
35
case
self::ICON_DOES_NOT_EXIST:
36
$this->message =
'The selected Icon does not exit: '
.
$this->add_info
;
37
break
;
38
default
:
39
$this->message =
'Unknown Exception '
.
$this->add_info
;
40
break
;
41
}
42
}
43
}
ilSystemStyleIconException
Class for advanced editing exception handling in ILIAS.
Definition:
class.ilSystemStyleIconException.php:24
ilSystemStyleIconException\IMAGES_FOLDER_DOES_NOT_EXIST
const IMAGES_FOLDER_DOES_NOT_EXIST
Definition:
class.ilSystemStyleIconException.php:26
ilSystemStyleExceptionBase\$add_info
string $add_info
Definition:
class.ilSystemStyleExceptionBase.php:36
ilSystemStyleIconException\ICON_DOES_NOT_EXIST
const ICON_DOES_NOT_EXIST
Definition:
class.ilSystemStyleIconException.php:27
ilSystemStyleExceptionBase
Class for advanced editing exception handling in ILIAS.
Definition:
class.ilSystemStyleExceptionBase.php:24
ilSystemStyleIconException\assignMessageToCode
assignMessageToCode()
Definition:
class.ilSystemStyleIconException.php:29
Services
Style
System
classes
Exceptions
class.ilSystemStyleIconException.php
Generated on Thu Apr 10 2025 22:02:46 for ILIAS by
1.8.13 (using
Doxyfile
)