ILIAS  release_8 Revision v8.23
ilObjectCustomIconConfiguration Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Inheritance diagram for ilObjectCustomIconConfiguration:
+ Collaboration diagram for ilObjectCustomIconConfiguration:

Public Member Functions

 getSupportedFileExtensions ()
 
 getTargetFileExtension ()
 
 getBaseDirectory ()
 
 getSubDirectoryPrefix ()
 
 getUploadPostProcessors ()
 A collection of post processors which are invoked if a new icon has been uploaded. More...
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning

Definition at line 21 of file class.ilObjectCustomIconConfiguration.php.

Member Function Documentation

◆ getBaseDirectory()

ilObjectCustomIconConfiguration::getBaseDirectory ( )

Implements ilCustomIconObjectConfiguration.

Definition at line 36 of file class.ilObjectCustomIconConfiguration.php.

36  : string
37  {
38  return 'custom_icons';
39  }

◆ getSubDirectoryPrefix()

ilObjectCustomIconConfiguration::getSubDirectoryPrefix ( )

Implements ilCustomIconObjectConfiguration.

Definition at line 41 of file class.ilObjectCustomIconConfiguration.php.

41  : string
42  {
43  return 'obj_';
44  }

◆ getSupportedFileExtensions()

ilObjectCustomIconConfiguration::getSupportedFileExtensions ( )
Returns
string[]

Implements ilCustomIconObjectConfiguration.

Definition at line 26 of file class.ilObjectCustomIconConfiguration.php.

26  : array
27  {
28  return ['svg'];
29  }

◆ getTargetFileExtension()

ilObjectCustomIconConfiguration::getTargetFileExtension ( )

Implements ilCustomIconObjectConfiguration.

Definition at line 31 of file class.ilObjectCustomIconConfiguration.php.

31  : string
32  {
33  return 'svg';
34  }

◆ getUploadPostProcessors()

ilObjectCustomIconConfiguration::getUploadPostProcessors ( )

A collection of post processors which are invoked if a new icon has been uploaded.

Returns
ilObjectCustomIconUploadPostProcessor[]

Implements ilCustomIconObjectConfiguration.

Definition at line 46 of file class.ilObjectCustomIconConfiguration.php.

46  : array
47  {
48  return [];
49  }

The documentation for this class was generated from the following file: