ILIAS  release_8 Revision v8.24
class.ilComponentRepository.php
Go to the documentation of this file.
1<?php
2
20declare(strict_types=1);
21
26{
27 public const PLUGIN_BASE_PATH = "Customizing/global/plugins";
28
34 public function hasComponent(string $type, string $name): bool;
35
39 public function hasComponentId(string $id): bool;
40
48 public function getComponents(): Iterator;
49
55 public function getComponentById(string $id): ilComponentInfo;
56
62 public function getComponentByTypeAndName(string $type, string $name): ilComponentInfo;
63
67 public function hasPluginSlotId(string $id): bool;
68
76 public function getPluginSlots(): Iterator;
77
83 public function getPluginSlotById(string $id): ilPluginSlotInfo;
84
88 public function hasPluginId(string $id): bool;
89
97 public function getPlugins(): Iterator;
98
104 public function getPluginById(string $id): ilPluginInfo;
105
111 public function getPluginByName(string $name): ilPluginInfo;
112
116 public function hasActivatedPlugin(string $id): bool;
117}
$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.
if($format !==null) $name
Definition: metadata.php:247
$type