ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilEventHandlingDefinitionsStoredObjective Class Reference
+ Inheritance diagram for ilEventHandlingDefinitionsStoredObjective:
+ Collaboration diagram for ilEventHandlingDefinitionsStoredObjective:

Public Member Functions

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

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)

@inheritDoc

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

@inheritDoc

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

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

◆ getLabel()

ilEventHandlingDefinitionsStoredObjective::getLabel ( )

@inheritDoc

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

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

◆ getPreconditions()

ilEventHandlingDefinitionsStoredObjective::getPreconditions ( Setup\Environment  $environment)

@inheritDoc

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)

@inheritDoc

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

87 : bool
88 {
89 return true;
90 }

◆ isNotable()

ilEventHandlingDefinitionsStoredObjective::isNotable ( )

@inheritDoc

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: