ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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 ()
 @inheritDoc More...
 
 getLabel ()
 @inheritDoc More...
 
 isNotable ()
 @inheritDoc More...
 
 getPreconditions (Environment $environment)
 @inheritDoc More...
 
- Public Member Functions inherited from ILIAS\Setup\Objective
 getHash ()
 Get a hash for this objective. More...
 
 getLabel ()
 Get a label that describes this objective. More...
 
 isNotable ()
 Get to know if this is an interesting objective for a human. More...
 
 getPreconditions (Environment $environment)
 Objectives might depend on other objectives. More...
 
 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 ( )

@inheritDoc

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 ( )

@inheritDoc

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()

ILIAS\File\Icon\ilObjFileDefaultIconsObjective::getPreconditions ( Environment  $environment)

◆ isNotable()

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

@inheritDoc

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: