ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilObjectCustomIconConfiguration Class Reference

Class ilObjectIconConfiguration. 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.
Returns
ilObjectCustomIconUploadPostProcessor[]
More...
 

Detailed Description

Class ilObjectIconConfiguration.

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

Member Function Documentation

◆ getBaseDirectory()

ilObjectCustomIconConfiguration::getBaseDirectory ( )
Returns
string

Implements ilCustomIconObjectConfiguration.

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

30  : string
31  {
32  return 'custom_icons';
33  }

◆ getSubDirectoryPrefix()

ilObjectCustomIconConfiguration::getSubDirectoryPrefix ( )
Returns
string

Implements ilCustomIconObjectConfiguration.

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

38  : string
39  {
40  return 'obj_';
41  }

◆ getSupportedFileExtensions()

ilObjectCustomIconConfiguration::getSupportedFileExtensions ( )
Returns
string[]

Implements ilCustomIconObjectConfiguration.

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

14  : array
15  {
16  return ['svg'];
17  }

◆ getTargetFileExtension()

ilObjectCustomIconConfiguration::getTargetFileExtension ( )
Returns
string

Implements ilCustomIconObjectConfiguration.

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

22  : string
23  {
24  return 'svg';
25  }

◆ 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: