ILIAS  trunk Revision v11.0_alpha-1689-g66c127b4ae8
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.ilNullPluginStateDB.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
27 {
28  public function isPluginActivated(string $id): bool
29  {
30  return false;
31  }
32 
33  public function setActivation(string $id, bool $activated): void
34  {
35  }
36 
37  public function getCurrentPluginVersion(string $id): ?Version
38  {
39  return null;
40  }
41 
42  public function getCurrentPluginDBVersion(string $id): ?int
43  {
44  return null;
45  }
46 
47  public function setCurrentPluginVersion(string $id, Version $version, int $db_version): void
48  {
49  }
50 
51  public function remove(string $id): void
52  {
53  }
54 }
Repository interface for plugin state data.
$version
Definition: plugin.php:24
setCurrentPluginVersion(string $id, Version $version, int $db_version)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Repository interface for plugin state data.
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
A version number that consists of three numbers (major, minor, patch).
Definition: Version.php:26
setActivation(string $id, bool $activated)