ILIAS  trunk Revision v11.0_alpha-1843-g9e1fad99175
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilEventHandlingDefinitionsStoredObjective Class Reference
+ Inheritance diagram for ilEventHandlingDefinitionsStoredObjective:
+ Collaboration diagram for ilEventHandlingDefinitionsStoredObjective:

Public Member Functions

 __construct (bool $populate_before=true)
 
 getHash ()
 
 getLabel ()
 
 isNotable ()
 
 getPreconditions (Setup\Environment $environment)
 
 achieve (Setup\Environment $environment)
 
 isApplicable (Setup\Environment $environment)
 

Protected Attributes

 $populate_before
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilEventHandlingDefinitionsStoredObjective::__construct ( bool  $populate_before = true)

Member Function Documentation

◆ achieve()

ilEventHandlingDefinitionsStoredObjective::achieve ( Setup\Environment  $environment)

Definition at line 73 of file class.ilEventHandlingDefinitionsStoredObjective.php.

73  : Setup\Environment
74  {
75  $reader = new \ilComponentDefinitionReader(
77  );
78  $reader->purge();
79  $reader->readComponentDefinitions();
80 
81  return $environment;
82  }

◆ getHash()

ilEventHandlingDefinitionsStoredObjective::getHash ( )

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

37  : string
38  {
39  return hash("sha256", self::class);
40  }

◆ getLabel()

ilEventHandlingDefinitionsStoredObjective::getLabel ( )

Definition at line 45 of file class.ilEventHandlingDefinitionsStoredObjective.php.

45  : string
46  {
47  return "Events are initialized.";
48  }

◆ getPreconditions()

ilEventHandlingDefinitionsStoredObjective::getPreconditions ( Setup\Environment  $environment)

Definition at line 61 of file class.ilEventHandlingDefinitionsStoredObjective.php.

61  : array
62  {
63  return [
64  new \ilDatabaseUpdatedObjective(),
65  new \ilSettingsFactoryExistsObjective(),
66  new \ilComponentDefinitionsStoredObjective()
67  ];
68  }

◆ isApplicable()

ilEventHandlingDefinitionsStoredObjective::isApplicable ( Setup\Environment  $environment)

Definition at line 87 of file class.ilEventHandlingDefinitionsStoredObjective.php.

87  : bool
88  {
89  return true;
90  }

◆ isNotable()

ilEventHandlingDefinitionsStoredObjective::isNotable ( )

Definition at line 53 of file class.ilEventHandlingDefinitionsStoredObjective.php.

53  : bool
54  {
55  return true;
56  }

Field Documentation

◆ $populate_before

ilEventHandlingDefinitionsStoredObjective::$populate_before
protected

Definition at line 27 of file class.ilEventHandlingDefinitionsStoredObjective.php.

Referenced by __construct().


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