ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
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 () | |
Get Id. More... | |
getLastUpdateVersion () | |
Get Version of last update. More... | |
getVersion () | |
Get Current Version (from plugin.php file). More... | |
getIliasMinVersion () | |
Get Required ILIAS min. More... | |
getIliasMaxVersion () | |
Get Required ILIAS max. More... | |
getActive () | |
Get Active. More... | |
setDBVersion ($a_dbversion) | |
Set DB Version. More... | |
getDBVersion () | |
Get DB Version. More... | |
writeDBVersion ($a_dbversion) | |
Write DB version to database. More... | |
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 ($a_var) | |
Get Language Variable (prefix will be prepended automatically) More... | |
getTemplate ($a_template, $a_par1=true, $a_par2=true) | |
Get template from plugin. More... | |
getImagePath ($a_img) | |
Get image path. More... | |
getStyleSheetLocation ($a_css_file) | |
Get css file location. More... | |
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... | |
activate () | |
Activate. More... | |
deactivate () | |
Deactivate. More... | |
uninstall () | |
update () | |
Update plugin. More... | |
Static Public Member Functions | |
static | _getDirectory ($a_ctype, $a_cname, $a_slot_id, $a_pname) |
Get plugin directory. More... | |
static | getAvailableLangFiles ($a_lang_directory) |
Get array of all language files in the plugin. More... | |
static | hasConfigureClass ($a_slot_dir, $a_name) |
Has the plugin a configure class? More... | |
static | getConfigureClassName ($a_name) |
Get plugin configure class name. More... | |
static | getDBUpdateScriptName ($a_ctype, $a_cname, $a_slot_name, $a_pname) |
Get DB update script filename (full path) More... | |
static | lookupTxt ($a_mod_prefix, $a_pl_id, $a_lang_var) |
Lookup language text. More... | |
static | _getImagePath ($a_ctype, $a_cname, $a_slot_id, $a_pname, $a_img) |
Get image path. More... | |
static | createPluginRecord ($a_ctype, $a_cname, $a_slot_id, $a_pname) |
static | getPluginRecord ($a_ctype, $a_cname, $a_slot_id, $a_pname) |
Get record from il_plugin table. More... | |
static | getPluginObject ($a_ctype, $a_cname, $a_slot_id, $a_pname) |
Get plugin object. More... | |
static | lookupStoredData ($a_ctype, $a_cname, $a_slot_id, $a_pname) |
Lookup information data in il_plugin. More... | |
static | getActivePluginsForSlot ($a_ctype, $a_cname, $a_slot_id) |
Get all active plugin names for a slot. More... | |
static | getActivePluginIdsForSlot ($a_ctype, $a_cname, $a_slot_id) |
Get All active plugin ids for a slot. More... | |
static | lookupNameForId ($a_ctype, $a_cname, $a_slot_id, $a_plugin_id) |
Lookup name for id. More... | |
static | lookupIdForName ($a_ctype, $a_cname, $a_slot_id, $a_plugin_name) |
Lookup id for name. More... | |
Protected Member Functions | |
setSlotObject ($a_slot) | |
Set Plugin Slot. More... | |
getSlotObject () | |
Get Plugin Slot. More... | |
getClassesDirectory () | |
Get Plugin's classes Directory. More... | |
getLanguageDirectory () | |
Get Plugin's language Directory. More... | |
slotInit () | |
Object initialization done by slot. More... | |
init () | |
Object initialization. More... | |
beforeActivation () | |
Before activation processing. More... | |
afterActivation () | |
After activation processing. More... | |
afterDeactivation () | |
After deactivation processing. More... | |
beforeUninstall () | |
afterUninstall () | |
beforeUpdate () | |
Before update processing. More... | |
afterUpdate () | |
After update processing. More... | |
Protected Attributes | |
$lang_initialised = false | |
$id = '' | |
Private Member Functions | |
setId ($a_id) | |
Set Id. More... | |
setLastUpdateVersion ($a_lastupdateversion) | |
Set Version of last update. More... | |
setVersion ($a_version) | |
Set Current Version (from plugin.php file). More... | |
setIliasMinVersion ($a_iliasminversion) | |
Set Required ILIAS min. More... | |
setIliasMaxVersion ($a_iliasmaxversion) | |
Set Required ILIAS max. More... | |
setActive ($a_active) | |
Set Active. More... | |
__init () | |
Default initialization. More... | |
Definition at line 16 of file class.ilPlugin.php.
ilPlugin::__construct | ( | ) |
Definition at line 28 of file class.ilPlugin.php.
References __init().
|
private |
Default initialization.
Definition at line 657 of file class.ilPlugin.php.
References $ilDB, $lng, getComponentName(), getComponentType(), getPluginName(), getPluginRecord(), getSlotId(), init(), loadLanguageModule(), setActive(), setDBVersion(), setId(), setIliasMaxVersion(), setIliasMinVersion(), setLastUpdateVersion(), setSlotObject(), setVersion(), and slotInit().
Referenced by __construct().
|
static |
Get plugin directory.
Definition at line 272 of file class.ilPlugin.php.
References ilPluginSlot\_getPluginsDirectory().
Referenced by _getImagePath(), and ilObjectDefinition\parsePluginData().
|
static |
Get image path.
Definition at line 551 of file class.ilPlugin.php.
References $d, $img, _getDirectory(), ilUtil\getImagePath(), ilComponent\lookupId(), and lookupIdForName().
Referenced by ilOrgUnitExtensionPlugin\_getIcon(), ilRepositoryObjectPlugin\_getIcon(), and getImagePath().
ilPlugin::activate | ( | ) |
Activate.
Definition at line 747 of file class.ilPlugin.php.
References $ilDB, $lng, $result, afterActivation(), beforeActivation(), ilCachedComponentData\flush(), getComponentName(), getComponentType(), getId(), getPluginName(), getSlotId(), needsUpdate(), and update().
ilPlugin::addBlockFile | ( | $a_tpl, | |
$a_var, | |||
$a_block, | |||
$a_tplname | |||
) |
Add template content to placeholder variable.
Definition at line 596 of file class.ilPlugin.php.
References getDirectory().
|
protected |
After activation processing.
Reimplemented in ilCachedPlugin.
Definition at line 801 of file class.ilPlugin.php.
Referenced by activate().
|
protected |
After deactivation processing.
Reimplemented in ilCachedPlugin.
Definition at line 832 of file class.ilPlugin.php.
Referenced by deactivate().
|
protected |
Definition at line 879 of file class.ilPlugin.php.
Referenced by uninstall().
|
protected |
After update processing.
Reimplemented in ilCachedPlugin.
Definition at line 948 of file class.ilPlugin.php.
Referenced by update().
|
protected |
Before activation processing.
Reimplemented in ilCachedPlugin, and ilRepositoryObjectPlugin.
Definition at line 790 of file class.ilPlugin.php.
Referenced by activate().
|
protected |
Reimplemented in ilRepositoryObjectPlugin.
Definition at line 837 of file class.ilPlugin.php.
Referenced by uninstall().
|
protected |
Before update processing.
Reimplemented in ilCachedPlugin.
Definition at line 937 of file class.ilPlugin.php.
Referenced by update().
|
static |
$a_ctype | |
$a_cname | |
$a_slot_id | |
$a_pname |
@description Create plugin record, if not existing
Definition at line 611 of file class.ilPlugin.php.
References $ilDB, and ilCachedComponentData\flush().
Referenced by ilPluginSlot\getPluginsInformation().
ilPlugin::deactivate | ( | ) |
Deactivate.
Definition at line 808 of file class.ilPlugin.php.
References $ilDB, $result, afterDeactivation(), ilCachedComponentData\flush(), getComponentName(), getComponentType(), getPluginName(), and getSlotId().
ilPlugin::getActive | ( | ) |
Get Active.
Definition at line 193 of file class.ilPlugin.php.
|
static |
Get All active plugin ids for a slot.
$a_ctype | |
$a_cname | |
$a_slot_id |
Definition at line 1037 of file class.ilPlugin.php.
References ilCachedComponentData\getInstance().
|
static |
Get all active plugin names for a slot.
Definition at line 1010 of file class.ilPlugin.php.
References ilCachedComponentData\getInstance().
Referenced by ilPluginAdmin\getActivePluginsForSlot().
|
static |
Get array of all language files in the plugin.
Definition at line 310 of file class.ilPlugin.php.
References $file.
Referenced by ilPluginsOverviewTableGUI\gatherPluginData(), ilObjComponentSettingsGUI\showPlugin(), and updateLanguages().
|
protected |
Get Plugin's classes Directory.
Definition at line 284 of file class.ilPlugin.php.
References getDirectory().
Referenced by includeClass().
|
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, ilPageComponentPlugin, ilCronHookPlugin, ilEventHookPlugin, ilLDAPPlugin, ilPersonalDesktopHookPlugin, ilPreviewRendererPlugin, ilRepositoryObjectPlugin, ilUserInterfaceHookPlugin, ilUDFClaimingPlugin, and ilComplexGatewayPlugin.
Referenced by __init(), activate(), deactivate(), getImagePath(), getStyleSheetLocation(), isActive(), needsUpdate(), uninstall(), update(), updateDatabase(), and writeDBVersion().
|
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, ilPageComponentPlugin, ilCronHookPlugin, ilEventHookPlugin, ilLDAPPlugin, ilPersonalDesktopHookPlugin, ilPreviewRendererPlugin, ilRepositoryObjectPlugin, ilUserInterfaceHookPlugin, ilUDFClaimingPlugin, and ilComplexGatewayPlugin.
Referenced by __init(), activate(), deactivate(), getImagePath(), getStyleSheetLocation(), isActive(), needsUpdate(), uninstall(), update(), updateDatabase(), and writeDBVersion().
|
static |
Get plugin configure class name.
return
Definition at line 364 of file class.ilPlugin.php.
Referenced by ilPluginsOverviewTableGUI\fillRow(), ilPluginsOverviewTableGUI\gatherPluginData(), ilObjComponentSettingsGUI\showPlugin(), and update().
|
static |
Get DB update script filename (full path)
Definition at line 382 of file class.ilPlugin.php.
Referenced by ilPluginDBUpdate\__construct(), and ilObjComponentSettingsGUI\showPlugin().
ilPlugin::getDBVersion | ( | ) |
Get DB Version.
Definition at line 233 of file class.ilPlugin.php.
Referenced by writeDBVersion().
ilPlugin::getDirectory | ( | ) |
Get Plugin Directory.
Definition at line 264 of file class.ilPlugin.php.
References getPluginName(), and getSlotObject().
Referenced by addBlockFile(), getClassesDirectory(), getLanguageDirectory(), getStyleSheetLocation(), getTemplate(), and update().
ilPlugin::getId | ( | ) |
Get Id.
Definition at line 93 of file class.ilPlugin.php.
References $id.
Referenced by activate(), ilRepositoryObjectPlugin\beforeActivation(), ilRepositoryObjectPlugin\beforeUninstall(), ilCloudHookPlugin\getPluginTablePrefix(), ilDclFieldTypePlugin\getPluginTablePrefix(), getPrefix(), and ilTestSignaturePlugin\handInFileForArchiving().
ilPlugin::getIliasMaxVersion | ( | ) |
Get Required ILIAS max.
release.
Definition at line 173 of file class.ilPlugin.php.
ilPlugin::getIliasMinVersion | ( | ) |
Get Required ILIAS min.
release.
Definition at line 153 of file class.ilPlugin.php.
ilPlugin::getImagePath | ( | $a_img | ) |
Get image path.
Definition at line 570 of file class.ilPlugin.php.
References _getImagePath(), getComponentName(), getComponentType(), getPluginName(), and getSlotId().
|
protected |
Get Plugin's language Directory.
Definition at line 302 of file class.ilPlugin.php.
References getDirectory().
Referenced by updateLanguages().
ilPlugin::getLastUpdateVersion | ( | ) |
Get Version of last update.
Definition at line 113 of file class.ilPlugin.php.
|
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
Referenced by __init(), activate(), deactivate(), getDirectory(), getImagePath(), ilCloudHookPlugin\getPluginTablePrefix(), ilDclFieldTypePlugin\getPluginTablePrefix(), ilPreviewRendererPlugin\getRendererClassInstance(), getStyleSheetLocation(), isActive(), needsUpdate(), uninstall(), update(), updateDatabase(), and writeDBVersion().
|
static |
Get plugin object.
string | $a_ctype | IL_COMP_MODULE | IL_COMP_SERVICE |
string | $a_cname | component name |
string | $a_sname | plugin slot name |
string | $a_pname | plugin name |
Definition at line 960 of file class.ilPlugin.php.
References $file, 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(), ilPluginAdmin\includeClass(), assQuestion\includePluginClass(), ilObjQuestionPool\isPluginActive(), ilObjectPlugin\loadRepoPlugin(), ilObjComponentSettingsGUI\refreshLanguages(), ilObjLanguage\refreshPlugins(), ilObjComponentSettingsGUI\uninstallPlugin(), ilObjComponentSettingsGUI\updatePlugin(), and ilObjQuestionPoolGUI\uploadQplObject().
|
static |
Get record from il_plugin table.
Definition at line 639 of file class.ilPlugin.php.
References ilCachedComponentData\getInstance().
Referenced by __init(), ilPluginAdmin\getPluginData(), ilCloudHookPlugin\getPluginTablePrefix(), and ilDclFieldTypePlugin\getPluginTablePrefix().
ilPlugin::getPrefix | ( | ) |
Get plugin prefix, used for lang vars.
Definition at line 372 of file class.ilPlugin.php.
References getId(), and getSlotObject().
Referenced by getTablePrefix(), loadLanguageModule(), txt(), uninstall(), update(), and updateLanguages().
|
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, ilPageComponentPlugin, ilCronHookPlugin, ilEventHookPlugin, ilLDAPPlugin, ilPersonalDesktopHookPlugin, ilPreviewRendererPlugin, ilRepositoryObjectPlugin, ilUserInterfaceHookPlugin, ilUDFClaimingPlugin, 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, ilPageComponentPlugin, ilCronHookPlugin, ilEventHookPlugin, ilLDAPPlugin, ilPersonalDesktopHookPlugin, ilPreviewRendererPlugin, ilRepositoryObjectPlugin, ilUserInterfaceHookPlugin, ilUDFClaimingPlugin, and ilComplexGatewayPlugin.
Referenced by __init(), activate(), deactivate(), getImagePath(), getStyleSheetLocation(), isActive(), needsUpdate(), uninstall(), update(), updateDatabase(), and writeDBVersion().
|
protected |
Get Plugin Slot.
Definition at line 213 of file class.ilPlugin.php.
Referenced by getDirectory(), ilCloudHookPlugin\getPluginTablePrefix(), ilDclFieldTypePlugin\getPluginTablePrefix(), and getPrefix().
ilPlugin::getStyleSheetLocation | ( | $a_css_file | ) |
Get css file location.
Definition at line 579 of file class.ilPlugin.php.
References getComponentName(), getComponentType(), getDirectory(), getPluginName(), getSlotId(), ilUtil\getStyleSheetLocation(), ilComponent\lookupId(), and lookupIdForName().
ilPlugin::getTablePrefix | ( | ) |
Get db table plugin prefix.
Definition at line 391 of file class.ilPlugin.php.
References getPrefix().
Referenced by updateDatabase().
ilPlugin::getTemplate | ( | $a_template, | |
$a_par1 = true , |
|||
$a_par2 = true |
|||
) |
Get template from plugin.
Definition at line 541 of file class.ilPlugin.php.
References $tpl, and getDirectory().
ilPlugin::getVersion | ( | ) |
Get Current Version (from plugin.php file).
Definition at line 133 of file class.ilPlugin.php.
References $version.
Referenced by update().
|
static |
Has the plugin a configure class?
string | slot directory |
string | plugin name |
Definition at line 348 of file class.ilPlugin.php.
Referenced by ilPluginsOverviewTableGUI\gatherPluginData(), and ilObjComponentSettingsGUI\showPlugin().
ilPlugin::includeClass | ( | $a_class_file_name | ) |
Include (once) a class file.
Definition at line 292 of file class.ilPlugin.php.
References getClassesDirectory().
Referenced by ilPreviewRendererPlugin\getRendererClassInstance(), ilPageComponentPlugin\getUIClassInstance(), and ilUserInterfaceHookPlugin\getUIClassInstance().
|
protected |
Object initialization.
Can be overwritten by plugin class (and should be made protected)
Reimplemented in ilCachedPlugin.
Definition at line 718 of file class.ilPlugin.php.
Referenced by __init().
ilPlugin::isActive | ( | ) |
Check whether plugin is active.
Definition at line 725 of file class.ilPlugin.php.
References getComponentName(), getComponentType(), getPluginName(), and getSlotId().
ilPlugin::loadLanguageModule | ( | ) |
Load language module for plugin.
Definition at line 504 of file class.ilPlugin.php.
References $lng, and getPrefix().
Referenced by __init(), and txt().
|
static |
Lookup id for name.
Reimplemented in ilCachedPlugin.
Definition at line 1077 of file class.ilPlugin.php.
References $ilDB.
Referenced by _getImagePath(), ilObjRepositorySettings\getAllObjTypes(), ilObjectDefinition\getGroupedPluginObjectTypes(), ilModulesTableGUI\getPluginComponents(), getStyleSheetLocation(), and ilObjectDefinition\parsePluginData().
|
static |
Lookup name for id.
Reimplemented in ilCachedPlugin.
Definition at line 1057 of file class.ilPlugin.php.
References $ilDB.
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(), and ilObjectPlugin\loadRepoPlugin().
|
static |
Lookup information data in il_plugin.
Definition at line 990 of file class.ilPlugin.php.
References $ilDB.
Referenced by ilPluginSlot\getPluginsInformation().
|
static |
Lookup language text.
Reimplemented in ilCachedPlugin.
Definition at line 528 of file class.ilPlugin.php.
References $lng.
ilPlugin::needsUpdate | ( | ) |
Check whether update is needed.
Definition at line 736 of file class.ilPlugin.php.
References getComponentName(), getComponentType(), getPluginName(), and getSlotId().
Referenced by activate().
|
private |
Set Active.
boolean | $a_active | Active |
Definition at line 183 of file class.ilPlugin.php.
Referenced by __init().
ilPlugin::setDBVersion | ( | $a_dbversion | ) |
Set DB Version.
int | $a_dbversion | DB Version |
Definition at line 223 of file class.ilPlugin.php.
Referenced by __init(), and writeDBVersion().
|
private |
Set Id.
string | $a_id | Id |
Definition at line 83 of file class.ilPlugin.php.
Referenced by __init().
|
private |
Set Required ILIAS max.
release.
string | $a_iliasmaxversion | Required ILIAS max. release |
Definition at line 163 of file class.ilPlugin.php.
Referenced by __init().
|
private |
Set Required ILIAS min.
release.
string | $a_iliasminversion | Required ILIAS min. release |
Definition at line 143 of file class.ilPlugin.php.
Referenced by __init().
|
private |
Set Version of last update.
string | $a_lastupdateversion | Version of last update |
Definition at line 103 of file class.ilPlugin.php.
Referenced by __init().
|
protected |
Set Plugin Slot.
object | $a_slot | Plugin Slot |
Definition at line 203 of file class.ilPlugin.php.
Referenced by __init().
|
private |
Set Current Version (from plugin.php file).
string | $a_version | Current Version (from plugin.php file) |
Definition at line 123 of file class.ilPlugin.php.
Referenced by __init().
|
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, ilShibbolethAuthenticationPlugin, ilPageComponentPlugin, ilCronHookPlugin, ilEventHookPlugin, ilLDAPPlugin, ilPersonalDesktopHookPlugin, ilPreviewRendererPlugin, ilRepositoryObjectPlugin, ilUserInterfaceHookPlugin, ilUDFClaimingPlugin, and ilComplexGatewayPlugin.
Referenced by __init().
ilPlugin::txt | ( | $a_var | ) |
Get Language Variable (prefix will be prepended automatically)
Definition at line 518 of file class.ilPlugin.php.
References $lng, getPrefix(), and loadLanguageModule().
|
final |
Definition at line 844 of file class.ilPlugin.php.
References $ilDB, afterUninstall(), beforeUninstall(), ilCachedComponentData\flush(), getComponentName(), getComponentType(), getPluginName(), getPrefix(), and getSlotId().
ilPlugin::update | ( | ) |
Update plugin.
Definition at line 887 of file class.ilPlugin.php.
References $ilCtrl, $ilDB, $result, afterUpdate(), beforeUpdate(), ilCachedComponentData\flush(), getComponentName(), getComponentType(), getConfigureClassName(), getDirectory(), getPluginName(), getPrefix(), getSlotId(), getVersion(), updateDatabase(), and updateLanguages().
Referenced by activate().
ilPlugin::updateDatabase | ( | ) |
Update database.
Reimplemented in ilCachedPlugin.
Definition at line 468 of file class.ilPlugin.php.
References $ilDB, $lng, $result, $row, ilCachedComponentData\flush(), getComponentName(), getComponentType(), getPluginName(), getSlotId(), and getTablePrefix().
Referenced by update().
ilPlugin::updateLanguages | ( | $a_lang_keys = null | ) |
Definition at line 400 of file class.ilPlugin.php.
References $lang, $row, $txt, getAvailableLangFiles(), ilObjLanguage\getInstalledLanguages(), getLanguageDirectory(), getPrefix(), and ilObjLanguage\replaceLangEntry().
Referenced by update().
ilPlugin::writeDBVersion | ( | $a_dbversion | ) |
Write DB version to database.
int | $a_dbversion | DB Version |
Definition at line 243 of file class.ilPlugin.php.
References $ilDB, getComponentName(), getComponentType(), getDBVersion(), getPluginName(), getSlotId(), and setDBVersion().
|
protected |
Definition at line 26 of file class.ilPlugin.php.
Referenced by getId(), ilCloudHookPlugin\getPluginTablePrefix(), and ilDclFieldTypePlugin\getPluginTablePrefix().
|
protected |
Definition at line 22 of file class.ilPlugin.php.