ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilComponentRepository.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
25{
26 public const PLUGIN_BASE_PATH = __DIR__ . '/../../../../public/Customizing/global/plugins';
27
33 public function hasComponent(string $type, string $name): bool;
34
38 public function hasComponentId(string $id): bool;
39
47 public function getComponents(): Iterator;
48
54 public function getComponentById(string $id): ilComponentInfo;
55
61 public function getComponentByTypeAndName(string $type, string $name): ilComponentInfo;
62
66 public function hasPluginSlotId(string $id): bool;
67
75 public function getPluginSlots(): Iterator;
76
82 public function getPluginSlotById(string $id): ilPluginSlotInfo;
83
87 public function hasPluginId(string $id): bool;
88
96 public function getPlugins(): Iterator;
97
103 public function getPluginById(string $id): ilPluginInfo;
104
110 public function getPluginByName(string $name): ilPluginInfo;
111
115 public function hasActivatedPlugin(string $id): bool;
116}
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
Simple value class for basic information about a component.
Simple value class for information about a plugin.
Simple value class for basic information about a pluginslot.
Readable part of repository interface to ilComponentDataDB.
getComponentById(string $id)
Get a component by id.
getPluginById(string $id)
Get a plugin by id.
getPlugins()
Get all plugins.
getPluginSlots()
Get all pluginslots.
hasComponentId(string $id)
Check if a component exists.
hasPluginId(string $id)
Check if a plugin exists.
getPluginSlotById(string $id)
Get pluginslot by id.
getPluginByName(string $name)
Get a plugin by name.
hasActivatedPlugin(string $id)
Check if a plugin exists and is activated.
hasComponent(string $type, string $name)
Check if a component exists.
hasPluginSlotId(string $id)
Check if a slot exists.
getComponentByTypeAndName(string $type, string $name)
Get a component by type and name.
getComponents()
Get all components.