ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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 () | |
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 = '' | |
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... | |
Definition at line 14 of file class.ilPlugin.php.
ilPlugin::__construct | ( | ) |
Reimplemented in ilRepositoryObjectPlugin.
Definition at line 55 of file class.ilPlugin.php.
References __init().
|
private |
Default initialization.
Definition at line 735 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().
|
static |
Get plugin directory.
Definition at line 298 of file class.ilPlugin.php.
References ilPluginSlot\_getPluginsDirectory().
Referenced by _getImagePath(), and ilObjectDefinition\parsePluginData().
|
static |
string | $a_ctype | |
string | $a_cname | |
string | $a_slot_id | |
string | $a_pname | |
string | $a_img |
Definition at line 622 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 883 of file class.ilPlugin.php.
References $DIC, $ilDB, $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 675 of file class.ilPlugin.php.
References getDirectory().
|
protected |
After activation processing.
Reimplemented in ilCachedPlugin.
Definition at line 946 of file class.ilPlugin.php.
Referenced by activate().
|
protected |
After deactivation processing.
Reimplemented in ilCachedPlugin.
Definition at line 979 of file class.ilPlugin.php.
Referenced by deactivate().
|
protected |
After install processing.
Definition at line 926 of file class.ilPlugin.php.
Referenced by install().
|
protected |
This is Plugin-Specific and is triggered after the uninstall command of a plugin.
Definition at line 1040 of file class.ilPlugin.php.
Referenced by uninstall().
|
protected |
After update processing.
Reimplemented in ilCachedPlugin.
Definition at line 1153 of file class.ilPlugin.php.
Referenced by update().
|
protected |
Before activation processing.
Reimplemented in ilCachedPlugin, and ilRepositoryObjectPlugin.
Definition at line 934 of file class.ilPlugin.php.
Referenced by activate().
|
protected |
Reimplemented in ilRepositoryObjectPlugin.
Definition at line 984 of file class.ilPlugin.php.
Referenced by uninstall().
|
protected |
Before update processing.
Reimplemented in ilCachedPlugin.
Definition at line 1141 of file class.ilPlugin.php.
Referenced by update().
|
protected |
Clear the entries of this plugin in the event handling table.
Definition at line 1125 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 693 of file class.ilPlugin.php.
References $DIC, $ilDB, and ilCachedComponentData\flush().
Referenced by ilPluginSlot\getPluginsInformation().
ilPlugin::deactivate | ( | ) |
Deactivate.
Definition at line 954 of file class.ilPlugin.php.
References $DIC, $ilDB, $result, afterDeactivation(), ilCachedComponentData\flush(), getComponentName(), getComponentType(), getPluginName(), and getSlotId().
ilPlugin::getActive | ( | ) |
Definition at line 222 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 1259 of file class.ilPlugin.php.
References $DIC, and ilCachedComponentData\getInstance().
|
static |
string | $a_ctype | |
string | $a_cname | |
string | $a_slot_id |
Definition at line 1230 of file class.ilPlugin.php.
References $DIC, and ilCachedComponentData\getInstance().
Referenced by ilPluginAdmin\getActivePluginsForSlot().
|
static |
Get array of all language files in the plugin.
Definition at line 334 of file class.ilPlugin.php.
Referenced by ilPluginsOverviewTableGUI\gatherPluginData(), ilObjComponentSettingsGUI\showPlugin(), and updateLanguages().
|
protected |
Definition at line 307 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, ilUDFDefinitionPlugin, 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, ilUDFDefinitionPlugin, 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.
array | $plugin_data |
Definition at line 395 of file class.ilPlugin.php.
Referenced by ilPluginsOverviewTableGUI\gatherPluginData(), ilObjComponentSettingsGUI\showPlugin(), and update().
|
static |
string | $a_ctype | |
string | $a_cname | |
string | $a_slot_name | |
string | $a_pname |
Definition at line 418 of file class.ilPlugin.php.
Referenced by ilPluginDBUpdate\__construct(), and ilObjComponentSettingsGUI\showPlugin().
ilPlugin::getDBVersion | ( | ) |
Definition at line 258 of file class.ilPlugin.php.
References $dbversion.
Referenced by writeDBVersion().
ilPlugin::getDirectory | ( | ) |
Get Plugin Directory.
Definition at line 289 of file class.ilPlugin.php.
References getPluginName(), and getSlotObject().
Referenced by addBlockFile(), clearEventListening(), getClassesDirectory(), getLanguageDirectory(), getStyleSheetLocation(), getTemplate(), readEventListening(), and update().
ilPlugin::getId | ( | ) |
Definition at line 126 of file class.ilPlugin.php.
References $id.
Referenced by ilRepositoryObjectPlugin\beforeActivation(), ilRepositoryObjectPlugin\beforeUninstall(), ilCloudHookPlugin\getPluginTablePrefix(), ilDclFieldTypePlugin\getPluginTablePrefix(), getPrefix(), ilTestSignaturePlugin\handInFileForArchiving(), install(), and ILIAS\GlobalScreen\Identification\IdentificationFactory\plugin().
ilPlugin::getIliasMaxVersion | ( | ) |
Get Required ILIAS max.
release.
Definition at line 204 of file class.ilPlugin.php.
References $iliasmaxversion.
ilPlugin::getIliasMinVersion | ( | ) |
Definition at line 184 of file class.ilPlugin.php.
References $iliasminversion.
ilPlugin::getImagePath | ( | string | $a_img | ) |
Get image path.
Definition at line 641 of file class.ilPlugin.php.
References _getImagePath(), getComponentName(), getComponentType(), getPluginName(), and getSlotId().
|
protected |
Definition at line 325 of file class.ilPlugin.php.
References getDirectory().
Referenced by updateLanguages().
ilPlugin::getLastUpdateVersion | ( | ) |
Get Version of last update.
Definition at line 148 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
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 |
string | $a_ctype | |
string | $a_cname | |
string | $a_slot_id | |
string | $a_pname |
Definition at line 1166 of file class.ilPlugin.php.
References 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().
|
static |
string | $a_ctype | |
string | $a_cname | |
string | $a_slot_id | |
string | $a_pname |
ilPluginException |
Definition at line 719 of file class.ilPlugin.php.
References ilCachedComponentData\getInstance().
Referenced by __init(), ilPluginsOverviewTableGUI\gatherPluginData(), ilPluginAdmin\getPluginData(), ilCloudHookPlugin\getPluginTablePrefix(), ilDclFieldTypePlugin\getPluginTablePrefix(), and ilObjComponentSettingsGUI\showPlugin().
ilPlugin::getPrefix | ( | ) |
Get plugin prefix, used for lang vars.
Definition at line 404 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, 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, ilPersonalDesktopHookPlugin, 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().
|
protected |
Definition at line 240 of file class.ilPlugin.php.
References $slot.
Referenced by getDirectory(), ilCloudHookPlugin\getPluginTablePrefix(), ilDclFieldTypePlugin\getPluginTablePrefix(), and getPrefix().
ilPlugin::getStyleSheetLocation | ( | string | $a_css_file | ) |
string | $a_css_file |
Definition at line 658 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 428 of file class.ilPlugin.php.
References getPrefix().
Referenced by updateDatabase().
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 607 of file class.ilPlugin.php.
References getDirectory().
ilPlugin::getVersion | ( | ) |
Definition at line 166 of file class.ilPlugin.php.
References $version.
Referenced by update().
|
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 372 of file class.ilPlugin.php.
References ILIAS_VERSION_NUMERIC, and ilComponent\isVersionGreaterString().
Referenced by ilPluginsOverviewTableGUI\gatherPluginData(), and ilObjComponentSettingsGUI\showPlugin().
ilPlugin::includeClass | ( | $a_class_file_name | ) |
Include (once) a class file.
Definition at line 316 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 824 of file class.ilPlugin.php.
Referenced by __init().
ilPlugin::install | ( | ) |
Definition at line 863 of file class.ilPlugin.php.
References $DIC, $ilDB, afterInstall(), ilCachedComponentData\flush(), getComponentName(), getComponentType(), getId(), getPluginName(), and getSlotId().
ilPlugin::isActive | ( | ) |
Check whether plugin is active.
Definition at line 832 of file class.ilPlugin.php.
References $DIC, getComponentName(), getComponentType(), getPluginName(), and getSlotId().
Referenced by ilPluginAdmin\getAllGlobalScreenProviders().
|
static |
Is searched lang var available in plugin lang files.
string | $pluginId | |
string | $langVar |
Definition at line 586 of file class.ilPlugin.php.
References $DIC, $lng, and ilObjectPlugin\getPluginObjectByType().
Referenced by ilObjectRolePermissionTableGUI\fillRow().
ilPlugin::loadLanguageModule | ( | ) |
Load language module for plugin.
Definition at line 534 of file class.ilPlugin.php.
References $DIC, $lng, and getPrefix().
Referenced by __init(), and txt().
|
static |
$a_ctype | |
$a_cname | |
$a_slot_id | |
$a_plugin_name |
Definition at line 1311 of file class.ilPlugin.php.
Referenced by _getImagePath(), ilObjRepositorySettings\getAllObjTypes(), ilObjectDefinition\getGroupedPluginObjectTypes(), ilModulesTableGUI\getPluginComponents(), getStyleSheetLocation(), and ilObjectDefinition\parsePluginData().
|
static |
$a_ctype | |
$a_cname | |
$a_slot_id | |
$a_plugin_id |
Definition at line 1285 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().
|
static |
Lookup information data in il_plugin.
string | $a_ctype | |
string | $a_cname | |
string | $a_slot_id | |
string | $a_pname |
Definition at line 1202 of file class.ilPlugin.php.
Referenced by ilPluginSlot\getPluginsInformation().
|
static |
string | $a_mod_prefix | |
string | $a_pl_id | |
string | $a_lang_var |
Definition at line 566 of file class.ilPlugin.php.
|
static |
string | $id |
Definition at line 1332 of file class.ilPlugin.php.
References $DIC, $id, and $ilDB.
Referenced by ilObjectPlugin\getPluginObjectByType().
ilPlugin::needsUpdate | ( | ) |
Check whether update is needed.
Definition at line 849 of file class.ilPlugin.php.
References $DIC, getComponentName(), getComponentType(), getPluginName(), and getSlotId().
Referenced by activate().
ilPlugin::promoteGlobalScreenProvider | ( | ) |
Definition at line 1355 of file class.ilPlugin.php.
|
protected |
Read the event listening definitions from the plugin.xml (if file exists)
Definition at line 1108 of file class.ilPlugin.php.
References $reader, getComponentName(), getComponentType(), getDirectory(), getPluginName(), and getSlotId().
Referenced by update().
|
private |
bool | $a_active |
Definition at line 213 of file class.ilPlugin.php.
Referenced by __init().
ilPlugin::setDBVersion | ( | int | $a_dbversion | ) |
int | $a_dbversion |
Definition at line 249 of file class.ilPlugin.php.
Referenced by __init(), and writeDBVersion().
|
private |
Set Id.
string | $a_id | Id |
Definition at line 117 of file class.ilPlugin.php.
Referenced by __init().
|
private |
$a_iliasmaxversion |
Definition at line 193 of file class.ilPlugin.php.
Referenced by __init().
|
private |
$a_iliasminversion |
Definition at line 175 of file class.ilPlugin.php.
Referenced by __init().
|
private |
Set Version of last update.
string | $a_lastupdateversion | Version of last update |
Definition at line 137 of file class.ilPlugin.php.
Referenced by __init().
|
protected |
ilPluginSlot | $a_slot |
Definition at line 231 of file class.ilPlugin.php.
Referenced by __init().
|
private |
string | $a_version |
Definition at line 157 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, ilAuthPlugin, ilShibbolethAuthenticationPlugin, ilAppointmentCustomGridPlugin, ilAppointmentCustomModalPlugin, ilPageComponentPlugin, ilCronHookPlugin, ilEventHookPlugin, ilLDAPPlugin, ilPDFRendererPlugin, ilPersonalDesktopHookPlugin, ilPreviewRendererPlugin, ilRepositoryObjectPlugin, ilUserInterfaceHookPlugin, ilUDFClaimingPlugin, ilUDFDefinitionPlugin, ilSoapHookPlugin, and ilComplexGatewayPlugin.
Referenced by __init().
ilPlugin::txt | ( | string | $a_var | ) |
Get Language Variable (prefix will be prepended automatically)
Definition at line 549 of file class.ilPlugin.php.
References $DIC, $lng, getPrefix(), and loadLanguageModule().
|
final |
Definition at line 992 of file class.ilPlugin.php.
References $DIC, $ilDB, afterUninstall(), beforeUninstall(), clearEventListening(), ilCachedComponentData\flush(), getComponentName(), getComponentType(), getPluginName(), getPrefix(), getSlotId(), and ilDBConstants\T_TEXT.
ilPlugin::update | ( | ) |
Update plugin.
Definition at line 1048 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(), and ilObjComponentSettingsGUI\update().
ilPlugin::updateDatabase | ( | ) |
Update database.
Reimplemented in ilCachedPlugin.
Definition at line 496 of file class.ilPlugin.php.
References $DIC, $ilDB, $lng, $message, $result, $row, getComponentName(), getComponentType(), getPluginName(), getSlotId(), and getTablePrefix().
Referenced by update().
ilPlugin::updateLanguages | ( | $a_lang_keys = null | ) |
Definition at line 439 of file class.ilPlugin.php.
References $lang, $row, $txt, ilObjLanguage\_getLocalChangesByModule(), getAvailableLangFiles(), ilObjLanguage\getInstalledLanguages(), getLanguageDirectory(), getPrefix(), and ilObjLanguage\replaceLangEntry().
Referenced by update().
ilPlugin::writeDBVersion | ( | int | $a_dbversion | ) |
string | $a_dbversion |
Definition at line 267 of file class.ilPlugin.php.
References $DIC, $ilDB, getComponentName(), getComponentType(), getDBVersion(), getPluginName(), getSlotId(), and setDBVersion().
|
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 20 of file class.ilPlugin.php.
Referenced by getSlotObject().
|
protected |
Definition at line 36 of file class.ilPlugin.php.
Referenced by getVersion().