ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
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 34 of file class.ilObjFileDefaultIconsObjective.php.

37  {
38  }

Member Function Documentation

◆ getHash()

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

Implements ILIAS\Setup\Objective.

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

43  : string
44  {
45  return hash(
46  "sha256",
47  get_class($this)
48  );
49  }

◆ getLabel()

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

Implements ILIAS\Setup\Objective.

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

54  : string
55  {
56  return "Creation of the default icons for file objects.";
57  }

◆ getPreconditions()

◆ isNotable()

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

Implements ILIAS\Setup\Objective.

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

62  : bool
63  {
64  return true;
65  }

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 32 of file class.ilObjFileDefaultIconsObjective.php.


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