ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
getVersion () | |
Get Version Number of Component. More... | |
isCore () | |
getComponentType () | |
getName () | |
Get Name. More... | |
__construct () | |
setId ($a_id) | |
Set Id. More... | |
getId () | |
Get Id. More... | |
setPluginSlots ($a_pluginslots) | |
Set Plugin Slots. More... | |
getPluginSlots () | |
Get Plugin Slots. More... | |
setSubDirectory ($a_subdirectory) | |
Set Sub Directory. More... | |
getSubDirectory () | |
Get Sub Directory. More... | |
getPluginSlotName ($a_id) | |
Get name of plugin slot. More... | |
getPluginSlotDirectory ($a_id) | |
Get directory of plugin slot. More... | |
getPluginSlotLanguagePrefix ($a_id) | |
Get language prefix for plugin slot. More... | |
Static Public Member Functions | |
static | getComponentObject ($a_ctype, $a_cname) |
Get component object. More... | |
static | lookupPluginSlots ($a_type, $a_name) |
Lookup all plugin slots of a component. More... | |
static | lookupId ($a_type, $a_name) |
Lookup ID of a component. More... | |
static | getComponentInfo ($a_type, $a_name) |
static | checkVersionNumber ($a_ver) |
Check version number. More... | |
static | isVersionGreaterString ($a_ver1, $a_ver2) |
static | isVersionGreater (string $version1, string $version2) |
static | lookupComponentName ($a_component_id) |
lookup component name type $ilDB More... | |
static | getAll () |
Get all. More... | |
Protected Attributes | |
$global_cache | |
Definition at line 23 of file class.ilComponent.php.
ilComponent::__construct | ( | ) |
Definition at line 62 of file class.ilComponent.php.
References getComponentType(), ilCachedComponentData\getInstance(), getName(), lookupPluginSlots(), setId(), and setPluginSlots().
|
staticfinal |
Check version number.
Definition at line 257 of file class.ilComponent.php.
Referenced by isVersionGreaterString().
|
static |
Get all.
Definition at line 322 of file class.ilComponent.php.
Referenced by ilObjAdvancedEditingGUI\initGeneralPageSettingsForm().
|
static |
$a_type | |
$a_name |
Definition at line 247 of file class.ilComponent.php.
References $a_type, $global_cache, and ilCachedComponentData\getInstance().
Referenced by ilCtrl\callBaseClass().
|
staticfinal |
Get component object.
string | $a_ctype | IL_COMP_MODULE | IL_COMP_SERVICE |
string | $a_cname | component name |
Definition at line 119 of file class.ilComponent.php.
References $DIC, $ilDB, IL_COMP_MODULE, and IL_COMP_SERVICE.
Referenced by ilObjComponentSettingsGUI\showPluginSlotInfo().
|
abstract |
Referenced by __construct(), and getPluginSlotDirectory().
|
final |
Get Id.
Definition at line 88 of file class.ilComponent.php.
References $id.
Referenced by getPluginSlotLanguagePrefix().
|
abstract |
Get Name.
Referenced by __construct(), and getPluginSlotDirectory().
ilComponent::getPluginSlotDirectory | ( | $a_id | ) |
Get directory of plugin slot.
string | $a_id | Plugin Slot ID |
Definition at line 212 of file class.ilComponent.php.
References getComponentType(), getName(), and getPluginSlots().
ilComponent::getPluginSlotLanguagePrefix | ( | $a_id | ) |
Get language prefix for plugin slot.
string | $a_id | Plugin Slot ID |
Definition at line 225 of file class.ilComponent.php.
References getId(), and getPluginSlots().
ilComponent::getPluginSlotName | ( | $a_id | ) |
Get name of plugin slot.
string | $a_id | Plugin Slot ID |
Definition at line 200 of file class.ilComponent.php.
References getPluginSlots().
|
final |
Get Plugin Slots.
Definition at line 108 of file class.ilComponent.php.
Referenced by getPluginSlotDirectory(), getPluginSlotLanguagePrefix(), and getPluginSlotName().
ilComponent::getSubDirectory | ( | ) |
Get Sub Directory.
Definition at line 172 of file class.ilComponent.php.
|
abstract |
Get Version Number of Component.
The number should be changed if anything in the code is changed. Otherwise ILIAS will not be able to recognize any change in the module.
The format must be: <major number>="">.<minor number>="">.<bugfix number>=""> <bugfix number>=""> should be increased for bugfixes <minor number>=""> should be increased for behavioural changes (and new functionalities) <major number>=""> should be increased for major revisions
The number should be returned directly as string, e.g. return "1.0.2";
|
abstract |
|
staticfinal |
string | $version1 | |
string | $version2 |
Definition at line 293 of file class.ilComponent.php.
Referenced by isVersionGreaterString().
|
staticfinal |
Definition at line 276 of file class.ilComponent.php.
References checkVersionNumber(), and isVersionGreater().
Referenced by ilPlugin\hasConfigureClass(), ilPluginAdmin\pluginSupportCurrentILIAS(), and ilPluginAdmin\updateRequired().
|
static |
lookup component name type $ilDB
type | $a_component_id |
Definition at line 304 of file class.ilComponent.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilLogComponentTableGUI\parse().
|
static |
Lookup ID of a component.
Definition at line 234 of file class.ilComponent.php.
References $a_type, $global_cache, and ilCachedComponentData\getInstance().
Referenced by ilPlugin\_getImagePath(), ilPluginSlot\getPrefix(), ilPlugin\getStyleSheetLocation(), and lookupPluginSlots().
|
static |
Lookup all plugin slots of a component.
Definition at line 180 of file class.ilComponent.php.
References $a_type, ilCachedComponentData\getInstance(), and lookupId().
Referenced by __construct(), ilPluginsOverviewTableGUI\addPluginData(), and ilComponentsTableGUI\getComponents().
|
final |
Set Id.
string | $a_id | Id |
Definition at line 78 of file class.ilComponent.php.
Referenced by __construct().
|
final |
Set Plugin Slots.
array | $a_pluginslots | Plugin Slots |
Definition at line 98 of file class.ilComponent.php.
Referenced by __construct().
ilComponent::setSubDirectory | ( | $a_subdirectory | ) |
Set Sub Directory.
string | $a_subdirectory | Sub Directory |
Definition at line 162 of file class.ilComponent.php.
|
protected |
Definition at line 60 of file class.ilComponent.php.
Referenced by getComponentInfo(), and lookupId().