ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ 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
case
self::IMAGES_FOLDER_DOES_NOT_EXIST:
22
$this->message =
"Images folder set for this style does not exist or can not be read: "
.
$this->add_info
;
23
break
;
24
case
self::ICON_DOES_NOT_EXIST:
25
$this->message =
"The selected Icon does not exit: "
.
$this->add_info
;
26
break
;
27
default
:
28
$this->message =
"Unknown Exception "
.
$this->add_info
;
29
break
;
30
}
31
}
32
}
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 Thu Jan 16 2025 19:02:30 for ILIAS by
1.8.13 (using
Doxyfile
)