ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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... | |
install () | |
Install. 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 | langExitsById ($pluginId, $langVar) |
Is searched lang var available in plugin lang files. 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... | |
afterInstall () | |
After install processing. More... | |
beforeActivation () | |
Before activation processing. More... | |
afterActivation () | |
After activation processing. More... | |
afterDeactivation () | |
After deactivation processing. More... | |
beforeUninstall () | |
afterUninstall () | |
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 | |
$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 | ( | ) |
Reimplemented in ilRepositoryObjectPlugin.
Definition at line 28 of file class.ilPlugin.php.
References __init().
|
private |
Default initialization.
Definition at line 659 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 553 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 792 of file class.ilPlugin.php.
References $ilDB, $lng, $result, afterActivation(), beforeActivation(), ilCachedComponentData\flush(), getComponentName(), getComponentType(), getPluginName(), getSlotId(), needsUpdate(), and update().
ilPlugin::addBlockFile | ( | $a_tpl, | |
$a_var, | |||
$a_block, | |||
$a_tplname | |||
) |
Add template content to placeholder variable.
Definition at line 605 of file class.ilPlugin.php.
References getDirectory().
|
protected |
After activation processing.
Reimplemented in ilCachedPlugin.
Definition at line 850 of file class.ilPlugin.php.
Referenced by activate().
|
protected |
After deactivation processing.
Reimplemented in ilCachedPlugin.
Definition at line 881 of file class.ilPlugin.php.
Referenced by deactivate().
|
protected |
After install processing.
Definition at line 832 of file class.ilPlugin.php.
Referenced by install().
|
protected |
Definition at line 928 of file class.ilPlugin.php.
Referenced by uninstall().
|
protected |
After update processing.
Reimplemented in ilCachedPlugin.
Definition at line 1036 of file class.ilPlugin.php.
Referenced by update().
|
protected |
Before activation processing.
Reimplemented in ilCachedPlugin, and ilRepositoryObjectPlugin.
Definition at line 839 of file class.ilPlugin.php.
Referenced by activate().
|
protected |
Reimplemented in ilRepositoryObjectPlugin.
Definition at line 886 of file class.ilPlugin.php.
Referenced by uninstall().
|
protected |
Before update processing.
Reimplemented in ilCachedPlugin.
Definition at line 1025 of file class.ilPlugin.php.
Referenced by update().
|
protected |
Clear the entries of this plugin in the event handling table.
Definition at line 1010 of file class.ilPlugin.php.
References $reader, getComponentName(), getComponentType(), getDirectory(), getPluginName(), and getSlotId().
Referenced by uninstall().
|
static |
$a_ctype | |
$a_cname | |
$a_slot_id | |
$a_pname |
@description Create plugin record
Definition at line 623 of file class.ilPlugin.php.
References $ilDB, and ilCachedComponentData\flush().
Referenced by ilPluginSlot\getPluginsInformation().
ilPlugin::deactivate | ( | ) |
Deactivate.
Definition at line 857 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 1131 of file class.ilPlugin.php.
References ilCachedComponentData\getInstance().
|
static |
Get all active plugin names for a slot.
Definition at line 1106 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, ilAppointmentCustomGridPlugin, ilAppointmentCustomModalPlugin, ilPageComponentPlugin, ilCronHookPlugin, ilEventHookPlugin, ilLDAPPlugin, ilPDFRendererPlugin, ilPersonalDesktopHookPlugin, ilPreviewRendererPlugin, ilRepositoryObjectPlugin, ilUserInterfaceHookPlugin, ilUDFClaimingPlugin, ilSoapHookPlugin, and ilComplexGatewayPlugin.
Referenced by __init(), activate(), clearEventListening(), deactivate(), getImagePath(), getStyleSheetLocation(), install(), isActive(), needsUpdate(), readEventListening(), 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, ilAppointmentCustomGridPlugin, ilAppointmentCustomModalPlugin, ilPageComponentPlugin, ilCronHookPlugin, ilEventHookPlugin, ilLDAPPlugin, ilPDFRendererPlugin, ilPersonalDesktopHookPlugin, ilPreviewRendererPlugin, ilRepositoryObjectPlugin, ilUserInterfaceHookPlugin, ilUDFClaimingPlugin, ilSoapHookPlugin, and ilComplexGatewayPlugin.
Referenced by __init(), activate(), clearEventListening(), deactivate(), getImagePath(), getStyleSheetLocation(), install(), isActive(), needsUpdate(), readEventListening(), uninstall(), update(), updateDatabase(), and writeDBVersion().
|
static |
Get plugin configure class name.
return
Definition at line 358 of file class.ilPlugin.php.
Referenced by ilPluginsOverviewTableGUI\gatherPluginData(), ilObjComponentSettingsGUI\showPlugin(), and update().
|
static |
Get DB update script filename (full path)
Definition at line 376 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(), clearEventListening(), getClassesDirectory(), getLanguageDirectory(), getStyleSheetLocation(), getTemplate(), readEventListening(), and update().
ilPlugin::getId | ( | ) |
Get Id.
Definition at line 93 of file class.ilPlugin.php.
References $id.
Referenced by ilRepositoryObjectPlugin\beforeActivation(), ilRepositoryObjectPlugin\beforeUninstall(), ilCloudHookPlugin\getPluginTablePrefix(), ilDclFieldTypePlugin\getPluginTablePrefix(), getPrefix(), ilTestSignaturePlugin\handInFileForArchiving(), and install().
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 575 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(), clearEventListening(), deactivate(), getDirectory(), getImagePath(), ilCloudHookPlugin\getPluginTablePrefix(), ilDclFieldTypePlugin\getPluginTablePrefix(), ilPreviewRendererPlugin\getRendererClassInstance(), getStyleSheetLocation(), ilPageComponentPlugin\getUIClassInstance(), ilUserInterfaceHookPlugin\getUIClassInstance(), install(), isActive(), needsUpdate(), readEventListening(), 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 1048 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(), ilObjComponentSettingsGUI\installPlugin(), 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 642 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 366 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, ilAppointmentCustomGridPlugin, ilAppointmentCustomModalPlugin, ilPageComponentPlugin, ilCronHookPlugin, ilEventHookPlugin, ilLDAPPlugin, ilPDFRendererPlugin, ilPersonalDesktopHookPlugin, ilPreviewRendererPlugin, ilRepositoryObjectPlugin, ilUserInterfaceHookPlugin, ilUDFClaimingPlugin, 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, ilPersonalDesktopHookPlugin, ilPreviewRendererPlugin, ilRepositoryObjectPlugin, ilUserInterfaceHookPlugin, ilUDFClaimingPlugin, ilSoapHookPlugin, and ilComplexGatewayPlugin.
Referenced by __init(), activate(), clearEventListening(), deactivate(), getImagePath(), getStyleSheetLocation(), install(), isActive(), needsUpdate(), readEventListening(), 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 589 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 385 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 543 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 343 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 735 of file class.ilPlugin.php.
Referenced by __init().
ilPlugin::install | ( | ) |
Install.
Definition at line 774 of file class.ilPlugin.php.
References $ilDB, afterInstall(), ilCachedComponentData\flush(), getComponentName(), getComponentType(), getId(), getPluginName(), and getSlotId().
ilPlugin::isActive | ( | ) |
Check whether plugin is active.
Definition at line 742 of file class.ilPlugin.php.
References getComponentName(), getComponentType(), getPluginName(), and getSlotId().
|
static |
Is searched lang var available in plugin lang files.
int | $pluginId | |
string | $langVar |
Definition at line 529 of file class.ilPlugin.php.
References $lng, and ilObjectPlugin\getRepoPluginObjectByType().
Referenced by ilObjectRolePermissionTableGUI\fillRow().
ilPlugin::loadLanguageModule | ( | ) |
Load language module for plugin.
Definition at line 489 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 1169 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 1150 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.
string | $a_ctype | |
string | $a_cname | |
string | $a_slot_id | |
string | $a_pname |
Definition at line 1084 of file class.ilPlugin.php.
References $ilDB.
Referenced by ilPluginSlot\getPluginsInformation().
|
static |
Lookup language text.
Reimplemented in ilCachedPlugin.
Definition at line 512 of file class.ilPlugin.php.
References $lng.
ilPlugin::needsUpdate | ( | ) |
Check whether update is needed.
Definition at line 757 of file class.ilPlugin.php.
References getComponentName(), getComponentType(), getPluginName(), and getSlotId().
Referenced by activate().
|
protected |
Read the event listening definitions from the plugin.xml (if file exists)
Definition at line 993 of file class.ilPlugin.php.
References $reader, getComponentName(), getComponentType(), getDirectory(), getPluginName(), and getSlotId().
Referenced by update().
|
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, ilAppointmentCustomGridPlugin, ilAppointmentCustomModalPlugin, ilPageComponentPlugin, ilCronHookPlugin, ilEventHookPlugin, ilLDAPPlugin, ilPDFRendererPlugin, ilPersonalDesktopHookPlugin, ilPreviewRendererPlugin, ilRepositoryObjectPlugin, ilUserInterfaceHookPlugin, ilUDFClaimingPlugin, ilSoapHookPlugin, and ilComplexGatewayPlugin.
Referenced by __init().
ilPlugin::txt | ( | $a_var | ) |
Get Language Variable (prefix will be prepended automatically)
Definition at line 502 of file class.ilPlugin.php.
References $lng, getPrefix(), and loadLanguageModule().
|
final |
Definition at line 893 of file class.ilPlugin.php.
References $ilDB, afterUninstall(), beforeUninstall(), clearEventListening(), ilCachedComponentData\flush(), getComponentName(), getComponentType(), getPluginName(), getPrefix(), and getSlotId().
ilPlugin::update | ( | ) |
Update plugin.
Definition at line 936 of file class.ilPlugin.php.
References $ilCtrl, $ilDB, $result, afterUpdate(), beforeUpdate(), ilCachedComponentData\flush(), getComponentName(), getComponentType(), getConfigureClassName(), getDirectory(), getPluginName(), getPrefix(), getSlotId(), getVersion(), readEventListening(), updateDatabase(), and updateLanguages().
Referenced by activate(), and ilObjComponentSettingsGUI\update().
ilPlugin::updateDatabase | ( | ) |
Update database.
Reimplemented in ilCachedPlugin.
Definition at line 451 of file class.ilPlugin.php.
References $ilDB, $lng, $message, $result, $row, ilCachedComponentData\flush(), getComponentName(), getComponentType(), getPluginName(), getSlotId(), and getTablePrefix().
Referenced by update().
ilPlugin::updateLanguages | ( | $a_lang_keys = null | ) |
Definition at line 394 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.