ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
getParentTypes () | |
allowCopy () | |
decides if this repository plugin can be copied More... | |
useOrguPermissions () | |
Decide if this repository plugin uses OrgUnit Permissions. More... | |
getPrefix () | |
![]() | |
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 | _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) |
Protected Member Functions | |
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... | |
![]() | |
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 | |
ilLanguage | $lng |
![]() | |
ilDBInterface | $db |
ilComponentRepositoryWrite | $component_repository |
string | $id |
ilPluginLanguage | $language_handler = null |
bool | $lang_initialised = false |
ProviderCollection | $provider_collection |
string | $message = '' |
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 Abstract parent class for all repository object plugin classes.
Definition at line 24 of file class.ilRepositoryObjectPlugin.php.
|
static |
Reimplemented in ilOrgUnitExtensionPlugin.
Definition at line 68 of file class.ilRepositoryObjectPlugin.php.
References ilPlugin\$component_repository, $DIC, _getImagePath(), ilComponentRepository\getPluginById(), and ilComponentInfo\TYPES.
|
static |
Only very little classes seem to care about this:
string | $a_ctype | |
string | $a_cname | |
string | $a_slot_id | |
string | $a_pname | |
string | $a_img |
Definition at line 41 of file class.ilRepositoryObjectPlugin.php.
References ilPlugin\$component_repository, Vendor\Package\$d, $DIC, XapiProxy\$plugin, ilComponentRepository\getComponentByTypeAndName(), ilUtil\getImagePath(), and ilComponentRepository\getPluginByName().
Referenced by ilOrgUnitExtensionPlugin\_getIcon(), and _getIcon().
|
static |
Reimplemented in ilOrgUnitExtensionPlugin.
Definition at line 81 of file class.ilRepositoryObjectPlugin.php.
References ilPlugin\$component_repository, $DIC, ilComponentRepository\getPluginById(), and ilComponentRepository\hasPluginId().
ilRepositoryObjectPlugin::allowCopy | ( | ) |
decides if this repository plugin can be copied
Definition at line 228 of file class.ilRepositoryObjectPlugin.php.
Referenced by beforeActivation().
|
protected |
@deprecate If you cannot get rid of the requirement to use this, adjust the activate method in your subclass instead.
Reimplemented from ilPlugin.
Definition at line 91 of file class.ilRepositoryObjectPlugin.php.
References ilPlugin\$db, $ilDB, ilRbacReview\_getOperationIdByName(), allowCopy(), ilPlugin\getId(), getParentTypes(), and ilUtil\now().
|
finalprotected |
@deprecate If you cannot get rid of the requirement to use this, adjust the uninstall method in your subclass instead.
Reimplemented from ilPlugin.
Definition at line 202 of file class.ilRepositoryObjectPlugin.php.
References beforeUninstallCustom(), ilPlugin\getId(), and uninstallCustom().
|
protected |
Definition at line 193 of file class.ilRepositoryObjectPlugin.php.
Referenced by beforeUninstall().
ilRepositoryObjectPlugin::getParentTypes | ( | ) |
Reimplemented in ilOrgUnitExtensionPlugin.
Definition at line 219 of file class.ilRepositoryObjectPlugin.php.
Referenced by beforeActivation().
ilRepositoryObjectPlugin::getPrefix | ( | ) |
Definition at line 241 of file class.ilRepositoryObjectPlugin.php.
References ilPlugin\getLanguageHandler().
|
abstractprotected |
ilRepositoryObjectPlugin::useOrguPermissions | ( | ) |
Decide if this repository plugin uses OrgUnit Permissions.
Definition at line 236 of file class.ilRepositoryObjectPlugin.php.
|
protected |
Definition at line 26 of file class.ilRepositoryObjectPlugin.php.