ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
ilGlobalCacheAllFlushedObjective Class Reference
+ Inheritance diagram for ilGlobalCacheAllFlushedObjective:
+ Collaboration diagram for ilGlobalCacheAllFlushedObjective:

Public Member Functions

 __construct ()
 
 getHash ()
 
 getLabel ()
 
 isNotable ()
 
 getPreconditions (Setup\Environment $environment)
 
 achieve (Setup\Environment $environment)
 
 isApplicable (Setup\Environment $environment)
 
- Public Member Functions inherited from ilSetupObjective
 __construct (\ilSetupConfig $config)
 

Additional Inherited Members

- Protected Attributes inherited from ilSetupObjective
 $config
 

Detailed Description

Definition at line 7 of file class.ilGlobalCacheAllFlushedObjective.php.

Constructor & Destructor Documentation

◆ __construct()

ilGlobalCacheAllFlushedObjective::__construct ( )

Definition at line 9 of file class.ilGlobalCacheAllFlushedObjective.php.

10  {
11  }

Member Function Documentation

◆ achieve()

ilGlobalCacheAllFlushedObjective::achieve ( Setup\Environment  $environment)

Definition at line 33 of file class.ilGlobalCacheAllFlushedObjective.php.

33  : Setup\Environment
34  {
35  ilGlobalCache::flushAll();
36 
37  return $environment;
38  }

◆ getHash()

ilGlobalCacheAllFlushedObjective::getHash ( )

Definition at line 13 of file class.ilGlobalCacheAllFlushedObjective.php.

13  : string
14  {
15  return hash("sha256", self::class);
16  }

◆ getLabel()

ilGlobalCacheAllFlushedObjective::getLabel ( )

Definition at line 18 of file class.ilGlobalCacheAllFlushedObjective.php.

18  : string
19  {
20  return "All global caches flushed";
21  }

◆ getPreconditions()

ilGlobalCacheAllFlushedObjective::getPreconditions ( Setup\Environment  $environment)

Definition at line 28 of file class.ilGlobalCacheAllFlushedObjective.php.

28  : array
29  {
30  return [];
31  }

◆ isApplicable()

ilGlobalCacheAllFlushedObjective::isApplicable ( Setup\Environment  $environment)

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

43  : bool
44  {
45  return true;
46  }

◆ isNotable()

ilGlobalCacheAllFlushedObjective::isNotable ( )

Definition at line 23 of file class.ilGlobalCacheAllFlushedObjective.php.

23  : bool
24  {
25  return true;
26  }

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