19declare(strict_types=1);
27 protected \ilDBInterface
$db;
45 if (!isset($this->plugins[
$id])) {
46 $plugin_info = $this->component_repository->getPluginById(
$id);
47 $class_name = $plugin_info->getClassName();
48 $plugin =
new $class_name($this->db, $this->component_repository,
$id);
52 return $this->plugins[
$id];
57 $ps = $this->component_repository->getPluginSlotById($slot_id)->getActivePlugins();
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
__construct(\ilComponentRepositoryWrite $component_repository, \ilDBInterface $db)
ilComponentRepositoryWrite $component_repository
getActivePluginsInSlot(string $slot_id)
Get the active plugins for the given slot.
getPlugin(string $id)
Get the plugin for the given id.
Writeable part of repository interface to ilComponentDataDB.