ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilOrgUnitExtensionPlugin Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Inheritance diagram for ilOrgUnitExtensionPlugin:
+ Collaboration diagram for ilOrgUnitExtensionPlugin:

Public Member Functions

 getParentTypes ()
 
 showInTree ()
 
- Public Member Functions inherited from ilRepositoryObjectPlugin
 getParentTypes ()
 
 allowCopy ()
 decides if this repository plugin can be copied More...
 
 useOrguPermissions ()
 Decide if this repository plugin uses OrgUnit Permissions. More...
 
 getPrefix ()
 
- Public Member Functions inherited from ilPlugin
 getMessage ()
 
 __construct (\ilDBInterface $db, \ilComponentRepositoryWrite $component_repository, string $id)
 
 getPluginName ()
 
 getId ()
 
 getVersion ()
 Only very little classes seem to care about this: More...
 
 getDirectory ()
 Only very little classes seem to care about this: More...
 
 isActive ()
 Only very little classes seem to care about this: More...
 
 needsUpdate ()
 
 install ()
 
 uninstall ()
 
 activate ()
 This will update (if required) and activate the plugin. More...
 
 deactivate ()
 
 update ()
 
 loadLanguageModule ()
 Load language module for plugin. More...
 
 txt (string $a_var)
 Get Language Variable (prefix will be prepended automatically) More...
 
 getTemplate (string $a_template, bool $a_par1=true, bool $a_par2=true)
 @deprecate ILIAS is moving towards UI components and plugins are expected to use these components. More...
 
 getStyleSheetLocation (string $a_css_file)
 @deprecate ILIAS is moving towards UI components and plugins are expected to use these components. More...
 
 addBlockFile ($a_tpl, $a_var, $a_block, $a_tplname)
 @deprecate ILIAS is moving towards UI components and plugins are expected to use these components. More...
 
 getGlobalScreenProviderCollection ()
 
 exchangeUIRendererAfterInitialization (\ILIAS\DI\Container $dic)
 This methods allows to replace the UI Renderer (see src/UI) of ILIAS after initialization by returning a closure returning a custom renderer. More...
 
 exchangeUIFactoryAfterInitialization (string $dic_key, \ILIAS\DI\Container $dic)
 This methods allows to replace some factory for UI Components (see src/UI) of ILIAS after initialization by returning a closure returning a custom factory. More...
 

Static Public Member Functions

static _getIcon (string $a_type)
 
static _getName (string $a_id)
 
- Static Public Member Functions inherited from ilRepositoryObjectPlugin
static _getImagePath (string $a_ctype, string $a_cname, string $a_slot_id, string $a_pname, string $a_img)
 Only very little classes seem to care about this: More...
 
static _getIcon (string $a_type)
 
static _getName (string $a_id)
 

Additional Inherited Members

- Protected Member Functions inherited from ilRepositoryObjectPlugin
 beforeActivation ()
 @deprecate If you cannot get rid of the requirement to use this, adjust the activate method in your subclass instead. More...
 
 beforeUninstallCustom ()
 
 uninstallCustom ()
 
 beforeUninstall ()
 @deprecate If you cannot get rid of the requirement to use this, adjust the uninstall method in your subclass instead. More...
 
- Protected Member Functions inherited from ilPlugin
 init ()
 Object initialization. More...
 
 getPluginInfo ()
 
 getComponentInfo ()
 
 getPluginSlotInfo ()
 
 afterInstall ()
 @deprecate If you cannot get rid of the requirement to use this, adjust the install method in your subclass instead. More...
 
 beforeUninstall ()
 @deprecate If you cannot get rid of the requirement to use this, adjust the uninstall method in your subclass instead. More...
 
 afterUninstall ()
 @deprecate If you cannot get rid of the requirement to use this, adjust the uninstall method in your subclass instead. More...
 
 beforeActivation ()
 @deprecate If you cannot get rid of the requirement to use this, adjust the activate method in your subclass instead. More...
 
 afterActivation ()
 @deprecate If you cannot get rid of the requirement to use this, adjust the activate method in your subclass instead. More...
 
 afterDeactivation ()
 @deprecate If you cannot get rid of the requirement to use this, adjust the activate method in your subclass instead. More...
 
 updateDatabase ()
 
 beforeUpdate ()
 @deprecate If you cannot get rid of the requirement to use this, adjust the update method in your subclass instead. More...
 
 afterUpdate ()
 
 getLanguageHandler ()
 
 buildLanguageHandler ()
 
- Protected Attributes inherited from ilRepositoryObjectPlugin
ilLanguage $lng
 
- Protected Attributes inherited from ilPlugin
ilDBInterface $db
 
ilComponentRepositoryWrite $component_repository
 
string $id
 
ilPluginLanguage $language_handler = null
 
bool $lang_initialised = false
 
ProviderCollection $provider_collection
 
string $message = ''
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilOrgUnitExtensionPlugin

Author
Oskar Truffer ot@st.nosp@m.uder.nosp@m.-raim.nosp@m.ann..nosp@m.ch

Definition at line 23 of file class.ilOrgUnitExtensionPlugin.php.

Member Function Documentation

◆ _getIcon()

static ilOrgUnitExtensionPlugin::_getIcon ( string  $a_type)
static

Reimplemented from ilRepositoryObjectPlugin.

Definition at line 30 of file class.ilOrgUnitExtensionPlugin.php.

30 : string
31 {
32 global $DIC;
33 $componentRepositoryObject = $DIC["component.repository"];
34
37 "OrgUnit",
38 "orguext",
39 $componentRepositoryObject->getPluginById($a_type)->getName(),
40 "icon_" . $a_type . ".svg"
41 );
42 }
static _getImagePath(string $a_ctype, string $a_cname, string $a_slot_id, string $a_pname, string $a_img)
Only very little classes seem to care about this:
global $DIC
Definition: shib_login.php:26

References $DIC, ilRepositoryObjectPlugin\_getImagePath(), and ilComponentInfo\TYPE_MODULES.

+ Here is the call graph for this function:

◆ _getName()

static ilOrgUnitExtensionPlugin::_getName ( string  $a_id)
static

Reimplemented from ilRepositoryObjectPlugin.

Definition at line 44 of file class.ilOrgUnitExtensionPlugin.php.

44 : string
45 {
46 global $DIC;
47 $component_repository = $DIC["component.repository"];
48 return $component_repository->getPluginById($a_id)->getName();
49 }
ilComponentRepositoryWrite $component_repository
getPluginById(string $id)
Get a plugin by id.

References ilPlugin\$component_repository, $DIC, and ilComponentRepository\getPluginById().

+ Here is the call graph for this function:

◆ getParentTypes()

ilOrgUnitExtensionPlugin::getParentTypes ( )
Returns
string[]

Reimplemented from ilRepositoryObjectPlugin.

Definition at line 25 of file class.ilOrgUnitExtensionPlugin.php.

25 : array
26 {
27 return ['orgu'];
28 }

◆ showInTree()

ilOrgUnitExtensionPlugin::showInTree ( )

Definition at line 51 of file class.ilOrgUnitExtensionPlugin.php.

51 : bool
52 {
53 return false;
54 }

The documentation for this class was generated from the following file: