ILIAS  trunk Revision v11.0_alpha-1689-g66c127b4ae8
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.ilPluginStateDB.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
26 interface ilPluginStateDB
27 {
28  public function isPluginActivated(string $id): bool;
29  public function setActivation(string $id, bool $activated): void;
30  public function getCurrentPluginVersion(string $id): ?Version;
31  public function getCurrentPluginDBVersion(string $id): ?int;
32  public function setCurrentPluginVersion(string $id, Version $version, int $db_version): void;
33  public function remove(string $id): void;
34 }
$version
Definition: plugin.php:24
getCurrentPluginDBVersion(string $id)
setActivation(string $id, bool $activated)
Repository interface for plugin state data.
isPluginActivated(string $id)
setCurrentPluginVersion(string $id, Version $version, int $db_version)
getCurrentPluginVersion(string $id)
$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