ILIAS  trunk Revision v11.0_alpha-1715-g7fc467680fb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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)
 ILIAS is moving towards UI components and plugins are expected to use these components. More...
 
 getStyleSheetLocation (string $a_css_file)
 ILIAS is moving towards UI components and plugins are expected to use these components. More...
 
 addBlockFile ($a_tpl, $a_var, $a_block, $a_tplname)
 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 ()
 
 beforeUninstallCustom ()
 
 uninstallCustom ()
 
 beforeUninstall ()
 
- Protected Member Functions inherited from ilPlugin
 init ()
 Object initialization. More...
 
 getPluginInfo ()
 
 getComponentInfo ()
 
 getPluginSlotInfo ()
 
 afterInstall ()
 If you cannot get rid of the requirement to use this, adjust the install method in your subclass instead. More...
 
 beforeUninstall ()
 If you cannot get rid of the requirement to use this, adjust the uninstall method in your subclass instead. More...
 
 afterUninstall ()
 If you cannot get rid of the requirement to use this, adjust the uninstall method in your subclass instead. More...
 
 beforeActivation ()
 If you cannot get rid of the requirement to use this, adjust the activate method in your subclass instead. More...
 
 afterActivation ()
 If you cannot get rid of the requirement to use this, adjust the activate method in your subclass instead. More...
 
 afterDeactivation ()
 If you cannot get rid of the requirement to use this, adjust the activate method in your subclass instead. More...
 
 updateDatabase ()
 
 beforeUpdate ()
 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

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

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

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  }
global $DIC
Definition: shib_login.php:22
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:
+ Here is the call graph for this function:

◆ _getName()

static ilOrgUnitExtensionPlugin::_getName ( string  $a_id)
static

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

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

44  : string
45  {
46  global $DIC;
47  $component_repository = $DIC["component.repository"];
48  return $component_repository->getPluginById($a_id)->getName();
49  }
ilComponentRepositoryWrite $component_repository
global $DIC
Definition: shib_login.php:22
getPluginById(string $id)
Get a plugin by id.
+ Here is the call graph for this function:

◆ getParentTypes()

ilOrgUnitExtensionPlugin::getParentTypes ( )

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: