|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Abstract Class ilPlugin. More...
Inheritance diagram for ilPlugin:
Collaboration diagram for ilPlugin:Public Member Functions | |
| __construct () | |
| getComponentType () | |
| Get Component Type. More... | |
| getComponentName () | |
| Get Component Name. More... | |
| getSlot () | |
| Get Slot Name. More... | |
| getSlotId () | |
| Get Slot ID. More... | |
| getPluginName () | |
| Get Plugin Name. More... | |
| getId () | |
| getLastUpdateVersion () | |
| Get Version of last update. More... | |
| getVersion () | |
| getIliasMinVersion () | |
| getIliasMaxVersion () | |
| Get Required ILIAS max. More... | |
| getActive () | |
| setDBVersion (int $a_dbversion) | |
| getDBVersion () | |
| writeDBVersion (int $a_dbversion) | |
| getDirectory () | |
| Get Plugin Directory. More... | |
| includeClass ($a_class_file_name) | |
| Include (once) a class file. More... | |
| getPrefix () | |
| Get plugin prefix, used for lang vars. More... | |
| getTablePrefix () | |
| Get db table plugin prefix. More... | |
| updateLanguages ($a_lang_keys=null) | |
| updateDatabase () | |
| Update database. More... | |
| 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) | |
| gets a ilTemplate instance of a html-file in the plugin /templates More... | |
| getImagePath (string $a_img) | |
| Get image path. More... | |
| getStyleSheetLocation (string $a_css_file) | |
| addBlockFile ($a_tpl, $a_var, $a_block, $a_tplname) | |
| Add template content to placeholder variable. More... | |
| isActive () | |
| Check whether plugin is active. More... | |
| needsUpdate () | |
| Check whether update is needed. More... | |
| install () | |
| activate () | |
| Activate. More... | |
| deactivate () | |
| Deactivate. More... | |
| uninstall () | |
| update () | |
| Update plugin. More... | |
| promoteGlobalScreenProvider () | |
| 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 | _getDirectory (string $a_ctype, string $a_cname, string $a_slot_id, string $a_pname) |
| Get plugin directory. More... | |
| static | getAvailableLangFiles (string $a_lang_directory) |
| Get array of all language files in the plugin. More... | |
| static | hasConfigureClass (string $a_slot_dir, array $plugin_data, array $plugin_db_data) |
| Has the plugin a configure class? More... | |
| static | getConfigureClassName (array $plugin_data) |
| Get plugin configure class name. More... | |
| static | getDBUpdateScriptName (string $a_ctype, string $a_cname, string $a_slot_name, string $a_pname) |
| static | lookupTxt (string $a_mod_prefix, string $a_pl_id, string $a_lang_var) |
| static | langExitsById (string $pluginId, string $langVar) |
| Is searched lang var available in plugin lang files. More... | |
| static | _getImagePath (string $a_ctype, string $a_cname, string $a_slot_id, string $a_pname, string $a_img) |
| static | createPluginRecord (string $a_ctype, string $a_cname, string $a_slot_id, string $a_pname) |
| static | getPluginRecord (string $a_ctype, string $a_cname, string $a_slot_id, string $a_pname) |
| static | getPluginObject (string $a_ctype, string $a_cname, string $a_slot_id, string $a_pname) |
| static | lookupStoredData (string $a_ctype, string $a_cname, string $a_slot_id, string $a_pname) |
| Lookup information data in il_plugin. More... | |
| static | getActivePluginsForSlot (string $a_ctype, string $a_cname, string $a_slot_id) |
| static | getActivePluginIdsForSlot (string $a_ctype, string $a_cname, string $a_slot_id) |
| Get All active plugin ids for a slot. More... | |
| static | lookupNameForId (string $a_ctype, string $a_cname, string $a_slot_id, string $a_plugin_id) |
| static | lookupIdForName (string $a_ctype, string $a_cname, string $a_slot_id, string $a_plugin_name) |
| static | lookupTypeInformationsForId (string $id) |
Protected Member Functions | |
| setSlotObject (ilPluginSlot $a_slot) | |
| getSlotObject () | |
| getClassesDirectory () | |
| getLanguageDirectory () | |
| slotInit () | |
| Object initialization done by slot. More... | |
| init () | |
| Object initialization. More... | |
| afterInstall () | |
| After install processing. More... | |
| beforeActivation () | |
| Before activation processing. More... | |
| afterActivation () | |
| After activation processing. More... | |
| afterDeactivation () | |
| After deactivation processing. More... | |
| beforeUninstall () | |
| afterUninstall () | |
| This is Plugin-Specific and is triggered after the uninstall command of a plugin. More... | |
| readEventListening () | |
| Read the event listening definitions from the plugin.xml (if file exists) More... | |
| clearEventListening () | |
| Clear the entries of this plugin in the event handling table. More... | |
| beforeUpdate () | |
| Before update processing. More... | |
| afterUpdate () | |
| After update processing. More... | |
Protected Attributes | |
| $slot | |
| $active = false | |
| $iliasmaxversion = "" | |
| $iliasminversion = "" | |
| $version = "" | |
| $lastupdateversion = "" | |
| $dbversion = 0 | |
| $lang_initialised = false | |
| $id = '' | |
| $provider_collection | |
Private Member Functions | |
| setId ($a_id) | |
| Set Id. More... | |
| setLastUpdateVersion (string $a_lastupdateversion) | |
| Set Version of last update. More... | |
| setVersion (string $a_version) | |
| setIliasMinVersion (string $a_iliasminversion) | |
| setIliasMaxVersion (string $a_iliasmaxversion) | |
| setActive (bool $a_active) | |
| __init () | |
| Default initialization. More... | |
Abstract Class ilPlugin.
Definition at line 14 of file class.ilPlugin.php.
| ilPlugin::__construct | ( | ) |
Reimplemented in ilRepositoryObjectPlugin.
Definition at line 59 of file class.ilPlugin.php.
References __init().
Here is the call graph for this function:
|
private |
Default initialization.
Definition at line 743 of file class.ilPlugin.php.
References $DIC, getComponentName(), getComponentType(), getPluginName(), getPluginRecord(), getSlotId(), init(), loadLanguageModule(), setActive(), setDBVersion(), setId(), setIliasMaxVersion(), setIliasMinVersion(), setLastUpdateVersion(), setSlotObject(), setVersion(), and slotInit().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get plugin directory.
Definition at line 303 of file class.ilPlugin.php.
References ilPluginSlot\_getPluginsDirectory().
Referenced by _getImagePath(), and ilObjectDefinition\parsePluginData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| string | $a_ctype | |
| string | $a_cname | |
| string | $a_slot_id | |
| string | $a_pname | |
| string | $a_img |
Definition at line 630 of file class.ilPlugin.php.
References $d, $img, _getDirectory(), ilUtil\getImagePath(), ilComponent\lookupId(), and lookupIdForName().
Referenced by ilOrgUnitExtensionPlugin\_getIcon(), ilRepositoryObjectPlugin\_getIcon(), and getImagePath().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPlugin::activate | ( | ) |
Activate.
Definition at line 891 of file class.ilPlugin.php.
References $DIC, $ilDB, $result, afterActivation(), beforeActivation(), ilCachedComponentData\flush(), getComponentName(), getComponentType(), getPluginName(), getSlotId(), needsUpdate(), and update().
Here is the call graph for this function:| ilPlugin::addBlockFile | ( | $a_tpl, | |
| $a_var, | |||
| $a_block, | |||
| $a_tplname | |||
| ) |
Add template content to placeholder variable.
Definition at line 683 of file class.ilPlugin.php.
References getDirectory().
Here is the call graph for this function:
|
protected |
After activation processing.
Definition at line 954 of file class.ilPlugin.php.
Referenced by activate().
Here is the caller graph for this function:
|
protected |
After deactivation processing.
Definition at line 987 of file class.ilPlugin.php.
Referenced by deactivate().
Here is the caller graph for this function:
|
protected |
After install processing.
Definition at line 934 of file class.ilPlugin.php.
Referenced by install().
Here is the caller graph for this function:
|
protected |
This is Plugin-Specific and is triggered after the uninstall command of a plugin.
Definition at line 1048 of file class.ilPlugin.php.
Referenced by uninstall().
Here is the caller graph for this function:
|
protected |
After update processing.
Definition at line 1160 of file class.ilPlugin.php.
Referenced by update().
Here is the caller graph for this function:
|
protected |
Before activation processing.
Reimplemented in ilRepositoryObjectPlugin.
Definition at line 942 of file class.ilPlugin.php.
Referenced by activate().
Here is the caller graph for this function:
|
protected |
Reimplemented in ilRepositoryObjectPlugin.
Definition at line 992 of file class.ilPlugin.php.
Referenced by uninstall().
Here is the caller graph for this function:
|
protected |
Before update processing.
Definition at line 1148 of file class.ilPlugin.php.
Referenced by update().
Here is the caller graph for this function:
|
protected |
Clear the entries of this plugin in the event handling table.
Definition at line 1132 of file class.ilPlugin.php.
References $reader, getComponentName(), getComponentType(), getDirectory(), getPluginName(), and getSlotId().
Referenced by uninstall().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| $a_ctype | |
| $a_cname | |
| $a_slot_id | |
| $a_pname |
@description Create plugin record
Definition at line 701 of file class.ilPlugin.php.
References $DIC, $ilDB, and ilCachedComponentData\flush().
Referenced by ilPluginSlot\getPluginsInformation().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPlugin::deactivate | ( | ) |
Deactivate.
Definition at line 962 of file class.ilPlugin.php.
References $DIC, $ilDB, $result, afterDeactivation(), ilCachedComponentData\flush(), getComponentName(), getComponentType(), getPluginName(), and getSlotId().
Here is the call graph for this function:| ilPlugin::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.
E.g:
if($key == "ui.factory.nameOfFactory"){ return function(\ILIAS\DI\Container $c){ return new CustomFactory($c['ui.signal_generator'],$c['ui.factory.maincontrols.slate']); }; }
Note: Note that plugins might conflict by replacing the same factory, so only use if you are sure, that no other plugin will do this for a given context.
| string | $dic_key | |
| \ILIAS\DI\Container | $dic |
Definition at line 1426 of file class.ilPlugin.php.
References $dic.
| ilPlugin::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.
E.g:
return function(\ILIAS\DI\Container $c){ return new CustomRenderer(); };
Note: Note that plugins might conflict by replacing the renderer, so only use if you are sure, that no other plugin will do this for a given context.
| \ILIAS\DI\Container | $dic |
Definition at line 1401 of file class.ilPlugin.php.
References $dic.
| ilPlugin::getActive | ( | ) |
Definition at line 227 of file class.ilPlugin.php.
References $active.
|
static |
Get All active plugin ids for a slot.
| $a_ctype | |
| $a_cname | |
| $a_slot_id |
Definition at line 1265 of file class.ilPlugin.php.
References $DIC, and ilCachedComponentData\getInstance().
Here is the call graph for this function:
|
static |
| string | $a_ctype | |
| string | $a_cname | |
| string | $a_slot_id |
Definition at line 1236 of file class.ilPlugin.php.
References $DIC, and ilCachedComponentData\getInstance().
Referenced by ilPluginAdmin\getActivePluginsForSlot().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get array of all language files in the plugin.
Definition at line 339 of file class.ilPlugin.php.
Referenced by ilPluginsOverviewTableGUI\gatherPluginData(), ilObjComponentSettingsGUI\showPlugin(), and updateLanguages().
Here is the caller graph for this function:
|
protected |
Definition at line 312 of file class.ilPlugin.php.
References getDirectory().
Referenced by includeClass().
Here is the call graph for this function:
Here is the caller graph for this function:
|
abstract |
Get Component Name.
Must be overwritten in plugin class of plugin slot.
Reimplemented in ilCloudHookPlugin, ilDclFieldTypePlugin, ilOrgUnitExtensionPlugin, ilOrgUnitTypeHookPlugin, ilStudyProgrammeTypeHookPlugin, ilSurveyQuestionsPlugin, ilTestExportPlugin, ilTestSignaturePlugin, ilQuestionsPlugin, ilAdvancedMDClaimingPlugin, ilAuthPlugin, ilShibbolethAuthenticationPlugin, ilAppointmentCustomGridPlugin, ilAppointmentCustomModalPlugin, ilPageComponentPlugin, ilCronHookPlugin, ilEventHookPlugin, ilLDAPPlugin, ilPDFRendererPlugin, ilPreviewRendererPlugin, ilRepositoryObjectPlugin, ilUserInterfaceHookPlugin, ilUDFClaimingPlugin, ilUDFDefinitionPlugin, ilSoapHookPlugin, and ilComplexGatewayPlugin.
Referenced by __init(), activate(), clearEventListening(), deactivate(), getImagePath(), getStyleSheetLocation(), install(), isActive(), needsUpdate(), readEventListening(), uninstall(), update(), updateDatabase(), and writeDBVersion().
Here is the caller graph for this function:
|
abstract |
Get Component Type.
Must be overwritten in plugin class of plugin slot.
Reimplemented in ilCloudHookPlugin, ilDclFieldTypePlugin, ilOrgUnitExtensionPlugin, ilOrgUnitTypeHookPlugin, ilStudyProgrammeTypeHookPlugin, ilSurveyQuestionsPlugin, ilTestExportPlugin, ilTestSignaturePlugin, ilQuestionsPlugin, ilAdvancedMDClaimingPlugin, ilAuthPlugin, ilShibbolethAuthenticationPlugin, ilAppointmentCustomGridPlugin, ilAppointmentCustomModalPlugin, ilPageComponentPlugin, ilCronHookPlugin, ilEventHookPlugin, ilLDAPPlugin, ilPDFRendererPlugin, ilPreviewRendererPlugin, ilRepositoryObjectPlugin, ilUserInterfaceHookPlugin, ilUDFClaimingPlugin, ilUDFDefinitionPlugin, ilSoapHookPlugin, and ilComplexGatewayPlugin.
Referenced by __init(), activate(), clearEventListening(), deactivate(), getImagePath(), getStyleSheetLocation(), install(), isActive(), needsUpdate(), readEventListening(), uninstall(), update(), updateDatabase(), and writeDBVersion().
Here is the caller graph for this function:
|
static |
Get plugin configure class name.
| array | $plugin_data |
Definition at line 403 of file class.ilPlugin.php.
Referenced by ilPluginsOverviewTableGUI\gatherPluginData(), ilObjComponentSettingsGUI\showPlugin(), and update().
Here is the caller graph for this function:
|
static |
| string | $a_ctype | |
| string | $a_cname | |
| string | $a_slot_name | |
| string | $a_pname |
Definition at line 426 of file class.ilPlugin.php.
Referenced by ilPluginDBUpdate\__construct(), and ilObjComponentSettingsGUI\showPlugin().
Here is the caller graph for this function:| ilPlugin::getDBVersion | ( | ) |
Definition at line 263 of file class.ilPlugin.php.
References $dbversion.
Referenced by writeDBVersion().
Here is the caller graph for this function:| ilPlugin::getDirectory | ( | ) |
Get Plugin Directory.
Definition at line 294 of file class.ilPlugin.php.
References getPluginName(), and getSlotObject().
Referenced by addBlockFile(), clearEventListening(), getClassesDirectory(), getLanguageDirectory(), getStyleSheetLocation(), getTemplate(), readEventListening(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:
|
final |
Definition at line 1376 of file class.ilPlugin.php.
References $provider_collection, promoteGlobalScreenProvider(), and ILIAS\GlobalScreen\Provider\PluginProviderCollection\setMainBarProvider().
Here is the call graph for this function:| ilPlugin::getId | ( | ) |
Definition at line 131 of file class.ilPlugin.php.
References $id.
Referenced by ilRepositoryObjectPlugin\beforeActivation(), ilRepositoryObjectPlugin\beforeUninstall(), ilCloudHookPlugin\getPluginTablePrefix(), ilDclFieldTypePlugin\getPluginTablePrefix(), getPrefix(), ilTestSignaturePlugin\handInFileForArchiving(), and install().
Here is the caller graph for this function:| ilPlugin::getIliasMaxVersion | ( | ) |
Get Required ILIAS max.
release.
Definition at line 209 of file class.ilPlugin.php.
References $iliasmaxversion.
| ilPlugin::getIliasMinVersion | ( | ) |
Definition at line 189 of file class.ilPlugin.php.
References $iliasminversion.
| ilPlugin::getImagePath | ( | string | $a_img | ) |
Get image path.
Definition at line 649 of file class.ilPlugin.php.
References _getImagePath(), getComponentName(), getComponentType(), getPluginName(), and getSlotId().
Here is the call graph for this function:
|
protected |
Definition at line 330 of file class.ilPlugin.php.
References getDirectory().
Referenced by updateLanguages().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPlugin::getLastUpdateVersion | ( | ) |
Get Version of last update.
Definition at line 153 of file class.ilPlugin.php.
References $lastupdateversion.
|
abstract |
Get Plugin Name.
Must be same as in class name il<Name>Plugin and must correspond to plugins subdirectory name.
Must be overwritten in plugin class of plugin
Reimplemented in ExamplePlugin.
Referenced by __init(), activate(), clearEventListening(), deactivate(), getDirectory(), getImagePath(), ilCloudHookPlugin\getPluginTablePrefix(), ilDclFieldTypePlugin\getPluginTablePrefix(), ilPreviewRendererPlugin\getRendererClassInstance(), getStyleSheetLocation(), ilPageComponentPlugin\getUIClassInstance(), install(), isActive(), needsUpdate(), readEventListening(), uninstall(), update(), updateDatabase(), and writeDBVersion().
Here is the caller graph for this function:
|
static |
| string | $a_ctype | |
| string | $a_cname | |
| string | $a_slot_id | |
| string | $a_pname |
| ilPluginException |
Definition at line 1172 of file class.ilPlugin.php.
References XapiProxy\$plugin, ilCachedComponentData\getInstance(), and ilPluginSlot\lookupSlotName().
Referenced by SurveyQuestion\_getQuestionTypeName(), assQuestion\_getQuestionTypeName(), ilObjQuestionPool\_getQuestionTypes(), ilObjSurveyQuestionPool\_getQuestiontypes(), ilObjSurveyQuestionPool\_getQuestionTypeTranslations(), SurveyQuestion\_includeClass(), ilObjComponentSettingsGUI\activatePlugin(), ilObjComponentSettingsGUI\confirmUninstallPlugin(), ilObjComponentSettingsGUI\deactivatePlugin(), ilObjTest\getAvailableQuestions(), ilDclFieldFactory\getClassPathByInstance(), ilDclFieldFactory\getFieldTypeByInstance(), ilOrgUnitExtension\getPlugin(), ilOrgUnitExtensionGUI\getPlugin(), ilOrgUnitExtensionListGUI\getPlugin(), ilObjectPlugin\getPlugin(), ilObjectPluginGUI\getPlugin(), ilObjectPluginListGUI\getPlugin(), ilPluginAdmin\getPluginObject(), ilObjQuestionPool\getQuestionTypeTranslations(), assQuestion\includePluginClass(), ilObjComponentSettingsGUI\installPlugin(), ilObjQuestionPool\isPluginActive(), ilObjectPlugin\loadOrgUnitPlugin(), ilObjectPlugin\loadRepoPlugin(), ilObjComponentSettingsGUI\refreshLanguages(), ilObjLanguage\refreshPlugins(), ilObjComponentSettingsGUI\uninstallPlugin(), ilObjComponentSettingsGUI\updatePlugin(), and ilObjQuestionPoolGUI\uploadQplObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| string | $a_ctype | |
| string | $a_cname | |
| string | $a_slot_id | |
| string | $a_pname |
| ilPluginException |
Definition at line 727 of file class.ilPlugin.php.
References ilCachedComponentData\getInstance().
Referenced by __init(), ilPluginsOverviewTableGUI\gatherPluginData(), ilPluginAdmin\getPluginData(), ilCloudHookPlugin\getPluginTablePrefix(), ilDclFieldTypePlugin\getPluginTablePrefix(), and ilObjComponentSettingsGUI\showPlugin().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPlugin::getPrefix | ( | ) |
Get plugin prefix, used for lang vars.
Definition at line 412 of file class.ilPlugin.php.
References getId(), and getSlotObject().
Referenced by getTablePrefix(), loadLanguageModule(), txt(), uninstall(), update(), and updateLanguages().
Here is the call graph for this function:
Here is the caller graph for this function:
|
abstract |
Get Slot Name.
Must be overwritten in plugin class of plugin slot.
Reimplemented in ilCloudHookPlugin, ilDclFieldTypePlugin, ilOrgUnitExtensionPlugin, ilOrgUnitTypeHookPlugin, ilStudyProgrammeTypeHookPlugin, ilSurveyQuestionsPlugin, ilTestExportPlugin, ilTestSignaturePlugin, ilQuestionsPlugin, ilAdvancedMDClaimingPlugin, ilAuthPlugin, ilShibbolethAuthenticationPlugin, ilAppointmentCustomGridPlugin, ilAppointmentCustomModalPlugin, ilPageComponentPlugin, ilCronHookPlugin, ilEventHookPlugin, ilLDAPPlugin, ilPDFRendererPlugin, ilPreviewRendererPlugin, ilRepositoryObjectPlugin, ilUserInterfaceHookPlugin, ilUDFClaimingPlugin, ilUDFDefinitionPlugin, ilSoapHookPlugin, and ilComplexGatewayPlugin.
|
abstract |
Get Slot ID.
Must be overwritten in plugin class of plugin slot.
Reimplemented in ilCloudHookPlugin, ilDclFieldTypePlugin, ilOrgUnitExtensionPlugin, ilOrgUnitTypeHookPlugin, ilStudyProgrammeTypeHookPlugin, ilSurveyQuestionsPlugin, ilTestExportPlugin, ilTestSignaturePlugin, ilQuestionsPlugin, ilAdvancedMDClaimingPlugin, ilAuthPlugin, ilShibbolethAuthenticationPlugin, ilAppointmentCustomGridPlugin, ilAppointmentCustomModalPlugin, ilPageComponentPlugin, ilCronHookPlugin, ilEventHookPlugin, ilLDAPPlugin, ilPDFRendererPlugin, ilPreviewRendererPlugin, ilRepositoryObjectPlugin, ilUserInterfaceHookPlugin, ilUDFClaimingPlugin, ilUDFDefinitionPlugin, ilSoapHookPlugin, and ilComplexGatewayPlugin.
Referenced by __init(), activate(), clearEventListening(), deactivate(), getImagePath(), getStyleSheetLocation(), install(), isActive(), needsUpdate(), readEventListening(), uninstall(), update(), updateDatabase(), and writeDBVersion().
Here is the caller graph for this function:
|
protected |
Definition at line 245 of file class.ilPlugin.php.
References $slot.
Referenced by getDirectory(), ilCloudHookPlugin\getPluginTablePrefix(), ilDclFieldTypePlugin\getPluginTablePrefix(), and getPrefix().
Here is the caller graph for this function:| ilPlugin::getStyleSheetLocation | ( | string | $a_css_file | ) |
| string | $a_css_file |
Definition at line 666 of file class.ilPlugin.php.
References getComponentName(), getComponentType(), getDirectory(), getPluginName(), getSlotId(), ilUtil\getStyleSheetLocation(), ilComponent\lookupId(), and lookupIdForName().
Here is the call graph for this function:| ilPlugin::getTablePrefix | ( | ) |
Get db table plugin prefix.
Definition at line 436 of file class.ilPlugin.php.
References getPrefix().
Referenced by updateDatabase().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPlugin::getTemplate | ( | string | $a_template, |
| bool | $a_par1 = true, |
||
| bool | $a_par2 = true |
||
| ) |
gets a ilTemplate instance of a html-file in the plugin /templates
| string | $a_template | |
| bool | $a_par1 | |
| bool | $a_par2 |
Definition at line 615 of file class.ilPlugin.php.
References getDirectory().
Here is the call graph for this function:| ilPlugin::getVersion | ( | ) |
Definition at line 171 of file class.ilPlugin.php.
References $version.
Referenced by update().
Here is the caller graph for this function:
|
static |
Has the plugin a configure class?
| string | $a_slot_dir | slot directory |
| array | $plugin_data | plugin data |
| array | $plugin_db_data | plugin db data |
Definition at line 380 of file class.ilPlugin.php.
References ILIAS_VERSION_NUMERIC, and ilComponent\isVersionGreaterString().
Referenced by ilPluginsOverviewTableGUI\gatherPluginData(), and ilObjComponentSettingsGUI\showPlugin().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPlugin::includeClass | ( | $a_class_file_name | ) |
Include (once) a class file.
Definition at line 321 of file class.ilPlugin.php.
References getClassesDirectory().
Referenced by ilPreviewRendererPlugin\getRendererClassInstance(), and ilPageComponentPlugin\getUIClassInstance().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Object initialization.
Can be overwritten by plugin class (and should be made protected)
Definition at line 832 of file class.ilPlugin.php.
Referenced by __init().
Here is the caller graph for this function:| ilPlugin::install | ( | ) |
Definition at line 871 of file class.ilPlugin.php.
References $DIC, $ilDB, afterInstall(), ilCachedComponentData\flush(), getComponentName(), getComponentType(), getId(), getPluginName(), and getSlotId().
Here is the call graph for this function:| ilPlugin::isActive | ( | ) |
Check whether plugin is active.
Definition at line 840 of file class.ilPlugin.php.
References $DIC, getComponentName(), getComponentType(), getPluginName(), and getSlotId().
Referenced by ExamplePlugin\exchangeUIRendererAfterInitialization().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Is searched lang var available in plugin lang files.
| string | $pluginId | |
| string | $langVar |
Definition at line 594 of file class.ilPlugin.php.
References $DIC, $lng, and ilObjectPlugin\getPluginObjectByType().
Referenced by ilObjectRolePermissionTableGUI\fillRow().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPlugin::loadLanguageModule | ( | ) |
Load language module for plugin.
Definition at line 542 of file class.ilPlugin.php.
References $DIC, $lng, and getPrefix().
Referenced by __init(), and txt().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| $a_ctype | |
| $a_cname | |
| $a_slot_id | |
| $a_plugin_name |
Definition at line 1317 of file class.ilPlugin.php.
Referenced by _getImagePath(), ilObjRepositorySettings\getAllObjTypes(), ilObjectDefinition\getGroupedPluginObjectTypes(), ilModulesTableGUI\getPluginComponents(), getStyleSheetLocation(), and ilObjectDefinition\parsePluginData().
Here is the caller graph for this function:
|
static |
| $a_ctype | |
| $a_cname | |
| $a_slot_id | |
| $a_plugin_id |
Definition at line 1291 of file class.ilPlugin.php.
Referenced by ilOrgUnitExtensionPlugin\_getIcon(), ilRepositoryObjectPlugin\_getIcon(), ilOrgUnitExtensionPlugin\_getName(), ilRepositoryObjectPlugin\_getName(), ilNavigationHistory\getItems(), ilOrgUnitExtension\getPlugin(), ilOrgUnitExtensionGUI\getPlugin(), ilOrgUnitExtensionListGUI\getPlugin(), ilObjectPlugin\getPlugin(), ilObjectPluginGUI\getPlugin(), ilObjectPluginListGUI\getPlugin(), ilObjectDefinition\isActivePluginType(), ilRepositoryObjectPluginSlot\isTypePlugin(), ilRepositoryObjectPluginSlot\isTypePluginWithLP(), ilObjectPlugin\loadOrgUnitPlugin(), and ilObjectPlugin\loadRepoPlugin().
Here is the caller graph for this function:
|
static |
Lookup information data in il_plugin.
| string | $a_ctype | |
| string | $a_cname | |
| string | $a_slot_id | |
| string | $a_pname |
Definition at line 1208 of file class.ilPlugin.php.
Referenced by ilPluginSlot\getPluginsInformation().
Here is the caller graph for this function:
|
static |
| string | $a_mod_prefix | |
| string | $a_pl_id | |
| string | $a_lang_var |
Definition at line 574 of file class.ilPlugin.php.
|
static |
| string | $id |
Definition at line 1340 of file class.ilPlugin.php.
References $DIC, $id, and $ilDB.
Referenced by ilObjectPlugin\getPluginObjectByType().
Here is the caller graph for this function:| ilPlugin::needsUpdate | ( | ) |
Check whether update is needed.
Definition at line 857 of file class.ilPlugin.php.
References $DIC, getComponentName(), getComponentType(), getPluginName(), and getSlotId().
Referenced by activate().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPlugin::promoteGlobalScreenProvider | ( | ) |
Definition at line 1365 of file class.ilPlugin.php.
References $DIC.
Referenced by getGlobalScreenProviderCollection().
Here is the caller graph for this function:
|
protected |
Read the event listening definitions from the plugin.xml (if file exists)
Definition at line 1115 of file class.ilPlugin.php.
References $reader, getComponentName(), getComponentType(), getDirectory(), getPluginName(), and getSlotId().
Referenced by update().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
| bool | $a_active |
Definition at line 218 of file class.ilPlugin.php.
Referenced by __init().
Here is the caller graph for this function:| ilPlugin::setDBVersion | ( | int | $a_dbversion | ) |
| int | $a_dbversion |
Definition at line 254 of file class.ilPlugin.php.
Referenced by __init(), and writeDBVersion().
Here is the caller graph for this function:
|
private |
Set Id.
| string | $a_id | Id |
Definition at line 122 of file class.ilPlugin.php.
Referenced by __init().
Here is the caller graph for this function:
|
private |
| $a_iliasmaxversion |
Definition at line 198 of file class.ilPlugin.php.
Referenced by __init().
Here is the caller graph for this function:
|
private |
| $a_iliasminversion |
Definition at line 180 of file class.ilPlugin.php.
Referenced by __init().
Here is the caller graph for this function:
|
private |
Set Version of last update.
| string | $a_lastupdateversion | Version of last update |
Definition at line 142 of file class.ilPlugin.php.
Referenced by __init().
Here is the caller graph for this function:
|
protected |
| ilPluginSlot | $a_slot |
Definition at line 236 of file class.ilPlugin.php.
Referenced by __init().
Here is the caller graph for this function:
|
private |
| string | $a_version |
Definition at line 162 of file class.ilPlugin.php.
Referenced by __init().
Here is the caller graph for this function:
|
abstractprotected |
Object initialization done by slot.
Must be overwritten in plugin class of plugin slot.
(and should be made protected)
Reimplemented in ilCloudHookPlugin, ilDclFieldTypePlugin, ilOrgUnitExtensionPlugin, ilOrgUnitTypeHookPlugin, ilStudyProgrammeTypeHookPlugin, ilSurveyQuestionsPlugin, ilTestExportPlugin, ilTestSignaturePlugin, ilQuestionsPlugin, ilAdvancedMDClaimingPlugin, ilAuthPlugin, ilShibbolethAuthenticationPlugin, ilAppointmentCustomGridPlugin, ilAppointmentCustomModalPlugin, ilPageComponentPlugin, ilCronHookPlugin, ilEventHookPlugin, ilLDAPPlugin, ilPDFRendererPlugin, ilPreviewRendererPlugin, ilRepositoryObjectPlugin, ilUserInterfaceHookPlugin, ilUDFClaimingPlugin, ilUDFDefinitionPlugin, ilSoapHookPlugin, and ilComplexGatewayPlugin.
Referenced by __init().
Here is the caller graph for this function:| ilPlugin::txt | ( | string | $a_var | ) |
Get Language Variable (prefix will be prepended automatically)
Definition at line 557 of file class.ilPlugin.php.
References $DIC, $lng, getPrefix(), and loadLanguageModule().
Here is the call graph for this function:
|
final |
Definition at line 1000 of file class.ilPlugin.php.
References $DIC, $ilDB, afterUninstall(), beforeUninstall(), clearEventListening(), ilCachedComponentData\flush(), getComponentName(), getComponentType(), getPluginName(), getPrefix(), getSlotId(), and ilDBConstants\T_TEXT.
Here is the call graph for this function:| ilPlugin::update | ( | ) |
Update plugin.
Definition at line 1056 of file class.ilPlugin.php.
References $DIC, $ilCtrl, $ilDB, $result, afterUpdate(), beforeUpdate(), getComponentName(), getComponentType(), getConfigureClassName(), getDirectory(), getPluginName(), getPrefix(), getSlotId(), getVersion(), readEventListening(), updateDatabase(), and updateLanguages().
Referenced by activate().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPlugin::updateDatabase | ( | ) |
Update database.
Definition at line 504 of file class.ilPlugin.php.
References $DIC, $ilDB, $lng, $message, $result, getComponentName(), getComponentType(), getPluginName(), getSlotId(), and getTablePrefix().
Referenced by update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPlugin::updateLanguages | ( | $a_lang_keys = null | ) |
Definition at line 447 of file class.ilPlugin.php.
References Vendor\Package\$a, $lang, $txt, ilObjLanguage\_getLocalChangesByModule(), getAvailableLangFiles(), ilObjLanguage\getInstalledLanguages(), getLanguageDirectory(), getPrefix(), and ilObjLanguage\replaceLangEntry().
Referenced by update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPlugin::writeDBVersion | ( | int | $a_dbversion | ) |
| string | $a_dbversion |
Definition at line 272 of file class.ilPlugin.php.
References $DIC, $ilDB, getComponentName(), getComponentType(), getDBVersion(), getPluginName(), getSlotId(), and setDBVersion().
Here is the call graph for this function:
|
protected |
Definition at line 24 of file class.ilPlugin.php.
Referenced by getActive().
|
protected |
Definition at line 44 of file class.ilPlugin.php.
Referenced by getDBVersion().
|
protected |
Definition at line 52 of file class.ilPlugin.php.
Referenced by getId(), ilCloudHookPlugin\getPluginTablePrefix(), ilDclFieldTypePlugin\getPluginTablePrefix(), and lookupTypeInformationsForId().
|
protected |
Definition at line 28 of file class.ilPlugin.php.
Referenced by getIliasMaxVersion().
|
protected |
Definition at line 32 of file class.ilPlugin.php.
Referenced by getIliasMinVersion().
|
protected |
Definition at line 48 of file class.ilPlugin.php.
|
protected |
Definition at line 40 of file class.ilPlugin.php.
Referenced by getLastUpdateVersion().
|
protected |
Definition at line 56 of file class.ilPlugin.php.
Referenced by getGlobalScreenProviderCollection().
|
protected |
Definition at line 20 of file class.ilPlugin.php.
Referenced by getSlotObject().
|
protected |
Definition at line 36 of file class.ilPlugin.php.
Referenced by getVersion().