ILIAS
Release_4_4_x_branch Revision 61816
|
Public Member Functions | |
getVersion () | |
Get Version Number of Component. | |
isCore () | |
getName () | |
Get Name. | |
__construct () | |
setId ($a_id) | |
Set Id. | |
getId () | |
Get Id. | |
setPluginSlots ($a_pluginslots) | |
Set Plugin Slots. | |
getPluginSlots () | |
Get Plugin Slots. | |
setSubDirectory ($a_subdirectory) | |
Set Sub Directory. | |
getSubDirectory () | |
Get Sub Directory. | |
getPluginSlotName ($a_id) | |
Get name of plugin slot. | |
getPluginSlotDirectory ($a_id) | |
Get directory of plugin slot. | |
getPluginSlotLanguagePrefix ($a_id) | |
Get language prefix for plugin slot. |
Static Public Member Functions | |
static | getComponentType () |
static | getComponentObject ($a_ctype, $a_cname) |
Get component object. | |
static | lookupPluginSlots ($a_type, $a_name) |
Lookup all plugin slots of a component. | |
static | lookupId ($a_type, $a_name) |
Lookup ID of a component. | |
static | checkVersionNumber ($a_ver) |
Check version number. | |
static | isVersionGreaterString ($a_ver1, $a_ver2) |
static | isVersionGreater ($a_ver1, $a_ver2) |
Check whether version number is greater than another version number. |
Definition at line 23 of file class.ilComponent.php.
ilComponent::__construct | ( | ) |
Reimplemented in ilModule, ilSurveyQuestionPoolModule, ilCOPageService, ilEventHandlingService, ilRepositoryService, ilLDAPService, ilPersonalDesktopService, ilAuthShibbolethService, ilCloudModule, ilUIComponentService, ilTestModule, ilTestQuestionPoolModule, and ilPreviewService.
Definition at line 53 of file class.ilComponent.php.
References getComponentType(), getName(), lookupPluginSlots(), setId(), and setPluginSlots().
|
staticfinal |
Check version number.
Definition at line 246 of file class.ilComponent.php.
References $lng.
Referenced by isVersionGreaterString().
|
staticfinal |
Get component object.
string | $a_ctype | IL_COMP_MODULE | IL_COMP_SERVICE |
string | $a_cname | component name |
Definition at line 113 of file class.ilComponent.php.
References IL_COMP_MODULE, and IL_COMP_SERVICE.
Referenced by ilObjComponentSettingsGUI\showPluginSlotInfo().
|
staticabstract |
Reimplemented in ilModule, and ilService.
Referenced by __construct().
|
final |
Get Id.
Definition at line 82 of file class.ilComponent.php.
Referenced by getPluginSlotLanguagePrefix().
|
abstract |
Get Name.
Reimplemented in ilModule, and ilService.
Referenced by __construct(), and getPluginSlotDirectory().
ilComponent::getPluginSlotDirectory | ( | $a_id | ) |
Get directory of plugin slot.
string | $a_id | Plugin Slot ID |
Definition at line 209 of file class.ilComponent.php.
References getName(), and getPluginSlots().
ilComponent::getPluginSlotLanguagePrefix | ( | $a_id | ) |
Get language prefix for plugin slot.
string | $a_id | Plugin Slot ID |
Definition at line 222 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 197 of file class.ilComponent.php.
References getPluginSlots().
|
final |
Get Plugin Slots.
Definition at line 102 of file class.ilComponent.php.
Referenced by getPluginSlotDirectory(), getPluginSlotLanguagePrefix(), and getPluginSlotName().
ilComponent::getSubDirectory | ( | ) |
Get Sub Directory.
Definition at line 166 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";
Reimplemented in ilSurveyQuestionPoolModule, ilCOPageService, ilEventHandlingService, ilRepositoryService, ilAuthShibbolethService, ilLDAPService, ilPersonalDesktopService, ilCloudModule, ilTestModule, ilTestQuestionPoolModule, ilUIComponentService, ilAuthenticationService, ilPreviewService, and ilCronService.
|
abstract |
Reimplemented in ilLDAPService, ilPersonalDesktopService, ilSurveyQuestionPoolModule, ilCOPageService, ilEventHandlingService, ilRepositoryService, ilAuthenticationService, ilAuthShibbolethService, ilCloudModule, ilUIComponentService, ilTestModule, ilTestQuestionPoolModule, ilPreviewService, and ilCronService.
|
staticfinal |
Check whether version number is greater than another version number.
$a_ver1 | array version number as array as returned by checkVersionNumber() |
$a_ver2 | array version number as array as returned by checkVersionNumber() |
$return boolean true, if $a_ver1 is greater than $a_ver2
Definition at line 287 of file class.ilComponent.php.
Referenced by isVersionGreaterString().
|
staticfinal |
Definition at line 265 of file class.ilComponent.php.
References checkVersionNumber(), and isVersionGreater().
Referenced by ilPluginAdmin\getPluginData().
|
static |
Lookup ID of a component.
Definition at line 231 of file class.ilComponent.php.
Referenced by ilPluginSlot\getPrefix(), and lookupPluginSlots().
|
static |
Lookup all plugin slots of a component.
Definition at line 174 of file class.ilComponent.php.
References lookupId().
Referenced by __construct(), ilComponentsTableGUI\getComponents(), and ilPluginsOverviewTableGUI\getComponents().
|
final |
Set Id.
string | $a_id | Id |
Definition at line 72 of file class.ilComponent.php.
Referenced by __construct().
|
final |
Set Plugin Slots.
array | $a_pluginslots | Plugin Slots |
Definition at line 92 of file class.ilComponent.php.
Referenced by __construct().
ilComponent::setSubDirectory | ( | $a_subdirectory | ) |
Set Sub Directory.
string | $a_subdirectory | Sub Directory |
Definition at line 156 of file class.ilComponent.php.