ILIAS  trunk Revision v11.0_alpha-1761-g6dbbfa7b760
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\File\Icon\ilObjFileDefaultIconsObjective Class Reference
+ Inheritance diagram for ILIAS\File\Icon\ilObjFileDefaultIconsObjective:
+ Collaboration diagram for ILIAS\File\Icon\ilObjFileDefaultIconsObjective:

Public Member Functions

 __construct (private bool $reset_default=false, private bool $reset_all=false)
 
 getHash ()
 
 getLabel ()
 
 isNotable ()
 
 getPreconditions (Environment $environment)
 
- Public Member Functions inherited from ILIAS\Setup\Objective
 achieve (Environment $environment)
 Objectives can be achieved. More...
 
 isApplicable (Environment $environment)
 Get to know whether the objective is applicable. More...
 

Private Attributes

const PATH_DEFAULT_ICON_DIR = __DIR__ . "/../../../../../public/assets/images/default_file_icons/"
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ILIAS\File\Icon\ilObjFileDefaultIconsObjective::__construct ( private bool  $reset_default = false,
private bool  $reset_all = false 
)

Definition at line 37 of file class.ilObjFileDefaultIconsObjective.php.

40  {
41  }

Member Function Documentation

◆ getHash()

ILIAS\File\Icon\ilObjFileDefaultIconsObjective::getHash ( )

Implements ILIAS\Setup\Objective.

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

46  : string
47  {
48  return hash(
49  "sha256",
50  static::class
51  );
52  }

◆ getLabel()

ILIAS\File\Icon\ilObjFileDefaultIconsObjective::getLabel ( )

Implements ILIAS\Setup\Objective.

Definition at line 57 of file class.ilObjFileDefaultIconsObjective.php.

57  : string
58  {
59  return "Creation of the default icons for file objects.";
60  }

◆ getPreconditions()

◆ isNotable()

ILIAS\File\Icon\ilObjFileDefaultIconsObjective::isNotable ( )

Implements ILIAS\Setup\Objective.

Definition at line 65 of file class.ilObjFileDefaultIconsObjective.php.

65  : bool
66  {
67  return true;
68  }

Field Documentation

◆ PATH_DEFAULT_ICON_DIR

const ILIAS\File\Icon\ilObjFileDefaultIconsObjective::PATH_DEFAULT_ICON_DIR = __DIR__ . "/../../../../../public/assets/images/default_file_icons/"
private

Definition at line 35 of file class.ilObjFileDefaultIconsObjective.php.


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