ILIAS
release_8 Revision v8.19
|
Simple value class for information about a plugin. More...
Public Member Functions | |
__construct (Version $actual_ilias_version, ilPluginSlotInfo $pluginslot, string $id, string $name, bool $activated, ?Version $current_version, ?int $current_db_version, Version $available_version, Version $minimum_ilias_version, Version $maximum_ilias_version, string $responsible, string $responsible_mail, bool $supports_learning_progress, bool $supports_export, bool $supports_cli_setup) | |
getPluginSlot () | |
getComponent () | |
getId () | |
getName () | |
getPath () | |
getClassName () | |
getConfigGUIClassName () | |
isActivated () | |
"activated" tells if the administrator of the installation wants the plugin to be effective. More... | |
getCurrentVersion () | |
getCurrentDBVersion () | |
getAvailableVersion () | |
getMinimumILIASVersion () | |
getMaximumILIASVersion () | |
getResponsible () | |
getResponsibleMail () | |
supportsLearningProgress () | |
supportsExport () | |
supportsCLISetup () | |
isInstalled () | |
"Installed" tells if the plugin has some installed version. More... | |
isUpdateRequired () | |
"Update required" tells if the plugin needs an update. More... | |
isVersionToOld () | |
"Version to old" tells if the plugin code has a version that is below the version that was updated last. More... | |
isCompliantToILIAS () | |
"ILIAS Version compliance" tells if the plugin can be operated with the given ILIAS version. More... | |
isActivationPossible () | |
Can this plugin be activated right now. More... | |
isActive () | |
Is this plugin active right now? More... | |
getReasonForInactivity () | |
Which is the reason for the inactivity? More... | |
Protected Attributes | |
Version | $actual_ilias_version |
ilPluginSlotInfo | $pluginslot |
string | $id |
string | $name |
bool | $activated |
Version | $current_version |
int | $current_db_version |
Version | $available_version |
Version | $minimum_ilias_version |
Version | $maximum_ilias_version |
string | $responsible |
string | $responsible_mail |
bool | $supports_learning_progress |
bool | $supports_export |
bool | $supports_cli_setup |
Simple value class for information about a plugin.
Definition at line 26 of file class.ilPluginInfo.php.
ilPluginInfo::__construct | ( | Version | $actual_ilias_version, |
ilPluginSlotInfo | $pluginslot, | ||
string | $id, | ||
string | $name, | ||
bool | $activated, | ||
?Version | $current_version, | ||
?int | $current_db_version, | ||
Version | $available_version, | ||
Version | $minimum_ilias_version, | ||
Version | $maximum_ilias_version, | ||
string | $responsible, | ||
string | $responsible_mail, | ||
bool | $supports_learning_progress, | ||
bool | $supports_export, | ||
bool | $supports_cli_setup | ||
) |
Definition at line 44 of file class.ilPluginInfo.php.
References $activated, $actual_ilias_version, $available_version, $current_db_version, $current_version, $id, $maximum_ilias_version, $minimum_ilias_version, $name, $pluginslot, $responsible, $responsible_mail, $supports_cli_setup, $supports_export, and $supports_learning_progress.
ilPluginInfo::getAvailableVersion | ( | ) |
Definition at line 138 of file class.ilPluginInfo.php.
References $available_version.
Referenced by ilPluginsOverviewTable\getContent().
ilPluginInfo::getClassName | ( | ) |
Definition at line 109 of file class.ilPluginInfo.php.
References getName().
ilPluginInfo::getComponent | ( | ) |
Definition at line 89 of file class.ilPluginInfo.php.
Referenced by ilPluginsOverviewTable\filterData(), and ilPluginsOverviewTable\setParameter().
ilPluginInfo::getConfigGUIClassName | ( | ) |
Definition at line 114 of file class.ilPluginInfo.php.
References getName().
Referenced by ilPluginsOverviewTable\getActions().
ilPluginInfo::getCurrentDBVersion | ( | ) |
Definition at line 133 of file class.ilPluginInfo.php.
References $current_db_version.
Referenced by ilPluginDBUpdate\__construct(), and ilPluginsOverviewTable\getContent().
ilPluginInfo::getCurrentVersion | ( | ) |
Definition at line 128 of file class.ilPluginInfo.php.
References $current_version.
Referenced by ilPluginsOverviewTable\getContent().
ilPluginInfo::getId | ( | ) |
Definition at line 94 of file class.ilPluginInfo.php.
References $id.
Referenced by ilPluginsOverviewTable\filterData(), ilPluginsOverviewTable\getContent(), and ilPluginsOverviewTable\setParameter().
ilPluginInfo::getMaximumILIASVersion | ( | ) |
Definition at line 148 of file class.ilPluginInfo.php.
References $maximum_ilias_version.
Referenced by ilPluginsOverviewTable\getContent().
ilPluginInfo::getMinimumILIASVersion | ( | ) |
Definition at line 143 of file class.ilPluginInfo.php.
References $minimum_ilias_version.
Referenced by ilPluginsOverviewTable\getContent().
ilPluginInfo::getName | ( | ) |
Definition at line 99 of file class.ilPluginInfo.php.
References $name.
Referenced by ilPluginsOverviewTable\filterData(), getClassName(), getConfigGUIClassName(), getPath(), ilPluginsOverviewTable\getTable(), and ilPluginsOverviewTable\setParameter().
ilPluginInfo::getPath | ( | ) |
Definition at line 104 of file class.ilPluginInfo.php.
References getName().
ilPluginInfo::getPluginSlot | ( | ) |
Definition at line 84 of file class.ilPluginInfo.php.
References $pluginslot.
Referenced by ilPluginsOverviewTable\filterData(), ilPluginsOverviewTable\getContent(), ilPluginsOverviewTable\getTable(), and ilPluginsOverviewTable\setParameter().
ilPluginInfo::getReasonForInactivity | ( | ) |
Which is the reason for the inactivity?
Definition at line 240 of file class.ilPluginInfo.php.
References isActivated(), isActive(), isCompliantToILIAS(), isInstalled(), isUpdateRequired(), and isVersionToOld().
Referenced by ilPluginInfoTest\testGetReasonForInactivity(), and ilPluginInfoTest\testGetReasonForInactivityThrowsOnActivePlugin().
ilPluginInfo::getResponsible | ( | ) |
Definition at line 153 of file class.ilPluginInfo.php.
References $responsible.
Referenced by ilPluginsOverviewTable\getContent().
ilPluginInfo::getResponsibleMail | ( | ) |
Definition at line 158 of file class.ilPluginInfo.php.
References $responsible_mail.
Referenced by ilPluginsOverviewTable\getContent().
ilPluginInfo::isActivated | ( | ) |
"activated" tells if the administrator of the installation wants the plugin to be effective.
Compare to "active".
Definition at line 123 of file class.ilPluginInfo.php.
References $activated.
Referenced by getReasonForInactivity(), and isActive().
ilPluginInfo::isActivationPossible | ( | ) |
Can this plugin be activated right now.
Definition at line 217 of file class.ilPluginInfo.php.
References isCompliantToILIAS(), isInstalled(), isUpdateRequired(), and isVersionToOld().
Referenced by ilPluginsOverviewTable\getActions(), isActive(), and ilPluginInfoTest\testIsActivationPossible().
ilPluginInfo::isActive | ( | ) |
Is this plugin active right now?
Definition at line 228 of file class.ilPluginInfo.php.
References isActivated(), and isActivationPossible().
Referenced by ilPluginsOverviewTable\filterData(), ilPluginsOverviewTable\getActions(), ilPluginsOverviewTable\getContent(), ilPluginsOverviewTable\getImportantFields(), getReasonForInactivity(), and ilPluginInfoTest\testIsActive().
ilPluginInfo::isCompliantToILIAS | ( | ) |
"ILIAS Version compliance" tells if the plugin can be operated with the given ILIAS version.
Definition at line 207 of file class.ilPluginInfo.php.
Referenced by getReasonForInactivity(), isActivationPossible(), and ilPluginInfoTest\testIsCompliantToILIAS().
ilPluginInfo::isInstalled | ( | ) |
"Installed" tells if the plugin has some installed version.
Definition at line 181 of file class.ilPluginInfo.php.
Referenced by ilPluginsOverviewTable\getActions(), ilPluginsOverviewTable\getContent(), ilPluginsOverviewTable\getImportantFields(), getReasonForInactivity(), isActivationPossible(), and isUpdateRequired().
ilPluginInfo::isUpdateRequired | ( | ) |
"Update required" tells if the plugin needs an update.
Definition at line 189 of file class.ilPluginInfo.php.
References isInstalled().
Referenced by ilPluginsOverviewTable\getActions(), ilPluginsOverviewTable\getContent(), ilPluginsOverviewTable\getImportantFields(), getReasonForInactivity(), and isActivationPossible().
ilPluginInfo::isVersionToOld | ( | ) |
"Version to old" tells if the plugin code has a version that is below the version that was updated last.
Definition at line 198 of file class.ilPluginInfo.php.
Referenced by getReasonForInactivity(), and isActivationPossible().
ilPluginInfo::supportsCLISetup | ( | ) |
Definition at line 173 of file class.ilPluginInfo.php.
References $supports_cli_setup.
Referenced by ilPluginsOverviewTable\getContent().
ilPluginInfo::supportsExport | ( | ) |
Definition at line 168 of file class.ilPluginInfo.php.
References $supports_export.
Referenced by ilPluginsOverviewTable\getContent().
ilPluginInfo::supportsLearningProgress | ( | ) |
Definition at line 163 of file class.ilPluginInfo.php.
References $supports_learning_progress.
Referenced by ilPluginsOverviewTable\getContent().
|
protected |
Definition at line 32 of file class.ilPluginInfo.php.
Referenced by __construct(), and isActivated().
|
protected |
Definition at line 28 of file class.ilPluginInfo.php.
Referenced by __construct().
|
protected |
Definition at line 35 of file class.ilPluginInfo.php.
Referenced by __construct(), and getAvailableVersion().
|
protected |
Definition at line 34 of file class.ilPluginInfo.php.
Referenced by __construct(), and getCurrentDBVersion().
|
protected |
Definition at line 33 of file class.ilPluginInfo.php.
Referenced by __construct(), and getCurrentVersion().
|
protected |
Definition at line 30 of file class.ilPluginInfo.php.
Referenced by __construct(), and getId().
|
protected |
Definition at line 37 of file class.ilPluginInfo.php.
Referenced by __construct(), and getMaximumILIASVersion().
|
protected |
Definition at line 36 of file class.ilPluginInfo.php.
Referenced by __construct(), and getMinimumILIASVersion().
|
protected |
Definition at line 31 of file class.ilPluginInfo.php.
Referenced by __construct(), and getName().
|
protected |
Definition at line 29 of file class.ilPluginInfo.php.
Referenced by __construct(), and getPluginSlot().
|
protected |
Definition at line 38 of file class.ilPluginInfo.php.
Referenced by __construct(), and getResponsible().
|
protected |
Definition at line 39 of file class.ilPluginInfo.php.
Referenced by __construct(), and getResponsibleMail().
|
protected |
Definition at line 42 of file class.ilPluginInfo.php.
Referenced by __construct(), and supportsCLISetup().
|
protected |
Definition at line 41 of file class.ilPluginInfo.php.
Referenced by __construct(), and supportsExport().
|
protected |
Definition at line 40 of file class.ilPluginInfo.php.
Referenced by __construct(), and supportsLearningProgress().