ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
class.ilSystemStyleIconException.php
Go to the documentation of this file.
1
<?
php
2
/* Copyright (c) 1998-2016 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
require_once
'class.ilSystemStyleExceptionBase.php'
;
5
13
class
ilSystemStyleIconException
extends
ilSystemStyleExceptionBase
14
{
15
const
IMAGES_FOLDER_DOES_NOT_EXIST
= 1001;
16
const
ICON_DOES_NOT_EXIST
= 1002;
17
18
protected
function
assignMessageToCode
()
19
{
20
switch
($this->code)
21
{
22
case
self::IMAGES_FOLDER_DOES_NOT_EXIST:
23
$this->message =
"Images folder set for this style does not exist or can not be read: "
.
$this->add_info
;
24
break
;
25
case
self::ICON_DOES_NOT_EXIST:
26
$this->message =
"The selected Icon does not exit: "
.
$this->add_info
;
27
break
;
28
default
:
29
$this->message =
"Unknown Exception "
.
$this->add_info
;
30
break
;
31
}
32
}
33
34
}
ilSystemStyleIconException
Class for advanced editing exception handling in ILIAS.
Definition:
class.ilSystemStyleIconException.php:13
ilSystemStyleExceptionBase\$add_info
$add_info
Definition:
class.ilSystemStyleExceptionBase.php:30
ilSystemStyleIconException\IMAGES_FOLDER_DOES_NOT_EXIST
const IMAGES_FOLDER_DOES_NOT_EXIST
Definition:
class.ilSystemStyleIconException.php:15
php
ilSystemStyleIconException\ICON_DOES_NOT_EXIST
const ICON_DOES_NOT_EXIST
Definition:
class.ilSystemStyleIconException.php:16
ilSystemStyleExceptionBase
Class for advanced editing exception handling in ILIAS.
Definition:
class.ilSystemStyleExceptionBase.php:13
ilSystemStyleIconException\assignMessageToCode
assignMessageToCode()
Definition:
class.ilSystemStyleIconException.php:18
Services
Style
System
classes
Exceptions
class.ilSystemStyleIconException.php
Generated on Fri Mar 7 2025 19:01:16 for ILIAS by
1.8.13 (using
Doxyfile
)