59             throw new \LogicException(
    60                 "You tried to instantiate a plugin with an inexisting id '$id'." .
    61                 "This is odd... Please use ilComponentFactory to instantiate plugins."    86     protected function init(): void
   113         return (
string) $this->
getPluginInfo()->getAvailableVersion();
   143         return $this->component_repository
   176         $this->component_repository->removeStateInformationOf($this->
getId());
   224         $this->component_repository->setActivation($this->
getId(), 
true);
   232         $this->component_repository->setActivation($this->
getId(), 
false);
   271         $ilDB = $DIC->database();
   274         if ($result === 
false) {
   285         $this->component_repository->setCurrentPluginVersion(
   298         $ilDB = $DIC->database();
   299         $lng = $DIC->language();
   306         $dbupdate->applyUpdate();
   308         return $dbupdate->getCurrentVersion();
   332         if ($this->language_handler === null) {
   356     public function txt(
string $a_var): string
   384         if (is_int(strpos($css, 
"Customizing"))) {
   388         return $this->
getDirectory() . 
"/templates/" . $a_css_file;
   396     public function addBlockFile($a_tpl, $a_var, $a_block, $a_tplname): void
   398         $a_tpl->addBlockFile(
   434         return $dic->raw(
'ui.renderer');
   454         return $dic->raw($dic_key);
 
static getStyleSheetLocation(string $mode="output", string $a_css_name="")
get full style sheet file name (path inclusive) of current user 
 
loadLanguageModule()
Load language module for plugin. 
 
getVersion()
Only very little classes seem to care about this: 
 
hasPluginId(string $id)
Check if a plugin exists. 
 
Class PluginProviderCollection. 
 
Writeable part of repository interface to ilComponentDataDB. 
 
beforeUninstall()
If you cannot get rid of the requirement to use this, adjust the uninstall method in your subclass in...
 
ilPluginLanguage $language_handler
 
Interface Observer  Contains several chained tasks and infos about them. 
 
Simple value class for basic information about a pluginslot. 
 
ProviderCollection $provider_collection
 
getTemplate(string $a_template, bool $a_par1=true, bool $a_par2=true)
ILIAS is moving towards UI components and plugins are expected to use these components. 
 
afterUninstall()
If you cannot get rid of the requirement to use this, adjust the uninstall method in your subclass in...
 
exchangeUIFactoryAfterInitialization(string $dic_key, \ILIAS\DI\Container $dic)
This methods allows to replace some factory for UI Components (see src/UI) of ILIAS after initializat...
 
activate()
This will update (if required) and activate the plugin. 
 
beforeActivation()
If you cannot get rid of the requirement to use this, adjust the activate method in your subclass ins...
 
isActive()
Only very little classes seem to care about this: 
 
ilComponentRepositoryWrite $component_repository
 
init()
Object initialization. 
 
afterInstall()
If you cannot get rid of the requirement to use this, adjust the install method in your subclass inst...
 
__construct(\ilDBInterface $db, \ilComponentRepositoryWrite $component_repository, string $id)
 
afterActivation()
If you cannot get rid of the requirement to use this, adjust the activate method in your subclass ins...
 
getDirectory()
Only very little classes seem to care about this: 
 
txt(string $a_var)
Get Language Variable (prefix will be prepended automatically) 
 
Simple value class for information about a plugin. 
 
getGlobalScreenProviderCollection()
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
getStyleSheetLocation(string $a_css_file)
ILIAS is moving towards UI components and plugins are expected to use these components. 
 
addBlockFile($a_tpl, $a_var, $a_block, $a_tplname)
ILIAS is moving towards UI components and plugins are expected to use these components. 
 
beforeUpdate()
If you cannot get rid of the requirement to use this, adjust the update method in your subclass inste...
 
Simple value class for basic information about a component. 
 
afterDeactivation()
If you cannot get rid of the requirement to use this, adjust the activate method in your subclass ins...
 
exchangeUIRendererAfterInitialization(\ILIAS\DI\Container $dic)
This methods allows to replace the UI Renderer (see src/UI) of ILIAS after initialization by returnin...