ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.ilObjectCustomIconConfiguration.php
Go to the documentation of this file.
1
<?
php
2
/* Copyright (c) 1998-2018 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
require_once
'Services/Object/Icon/interfaces/interface.ilCustomIconObjectConfiguration.php'
;
5
9
class
ilObjectCustomIconConfiguration
implements
\ilCustomIconObjectConfiguration
10
{
14
public
function
getSupportedFileExtensions
() : array
15
{
16
return
[
'svg'
];
17
}
18
22
public
function
getTargetFileExtension
() : string
23
{
24
return
'svg'
;
25
}
26
30
public
function
getBaseDirectory
() : string
31
{
32
return
'custom_icons'
;
33
}
34
38
public
function
getSubDirectoryPrefix
() : string
39
{
40
return
'obj_'
;
41
}
42
46
public
function
getUploadPostProcessors
() : array
47
{
48
return
[];
49
}
50
}
ilCustomIconObjectConfiguration
Definition:
interface.ilCustomIconObjectConfiguration.php:4
ilObjectCustomIconConfiguration\getSupportedFileExtensions
getSupportedFileExtensions()
Definition:
class.ilObjectCustomIconConfiguration.php:14
ilObjectCustomIconConfiguration\getUploadPostProcessors
getUploadPostProcessors()
A collection of post processors which are invoked if a new icon has been uploaded.ilObjectCustomIconUploadPostProcessor[]
Definition:
class.ilObjectCustomIconConfiguration.php:46
ilObjectCustomIconConfiguration\getBaseDirectory
getBaseDirectory()
Definition:
class.ilObjectCustomIconConfiguration.php:30
ilObjectCustomIconConfiguration
Class ilObjectIconConfiguration.
Definition:
class.ilObjectCustomIconConfiguration.php:9
ilObjectCustomIconConfiguration\getTargetFileExtension
getTargetFileExtension()
Definition:
class.ilObjectCustomIconConfiguration.php:22
php
ilObjectCustomIconConfiguration\getSubDirectoryPrefix
getSubDirectoryPrefix()
Definition:
class.ilObjectCustomIconConfiguration.php:38
Services
Object
Icon
classes
class.ilObjectCustomIconConfiguration.php
Generated on Thu Jan 16 2025 19:02:27 for ILIAS by
1.8.13 (using
Doxyfile
)