|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Simple value class for information about a plugin. More...
Collaboration diagram for ilPluginInfo:Public Member Functions | |
| __construct (Version $actual_ilias_version, ilPluginSlotInfo $pluginslot, string $id, string $name, string $type, 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 () | |
| getType () | |
| 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 |
| string | $type |
| 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, | ||
| string | $type, | ||
| 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 45 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, $supports_learning_progress, and $type.
| ilPluginInfo::getAvailableVersion | ( | ) |
Definition at line 152 of file class.ilPluginInfo.php.
References $available_version.
Referenced by ilPluginsOverviewTable\getContent().
Here is the caller graph for this function:| ilPluginInfo::getClassName | ( | ) |
Definition at line 123 of file class.ilPluginInfo.php.
References getName().
Here is the call graph for this function:| ilPluginInfo::getComponent | ( | ) |
Definition at line 92 of file class.ilPluginInfo.php.
Referenced by ilPluginsOverviewTable\filterData(), and getPath().
Here is the caller graph for this function:| ilPluginInfo::getConfigGUIClassName | ( | ) |
Definition at line 128 of file class.ilPluginInfo.php.
References getName().
Referenced by ilPluginsOverviewTable\getActions().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPluginInfo::getCurrentDBVersion | ( | ) |
Definition at line 147 of file class.ilPluginInfo.php.
References $current_db_version.
Referenced by ilPluginDBUpdate\__construct(), and ilPluginsOverviewTable\getContent().
Here is the caller graph for this function:| ilPluginInfo::getCurrentVersion | ( | ) |
Definition at line 142 of file class.ilPluginInfo.php.
References $current_version.
Referenced by ilPluginsOverviewTable\getContent().
Here is the caller graph for this function:| ilPluginInfo::getId | ( | ) |
Definition at line 97 of file class.ilPluginInfo.php.
References $id.
Referenced by ilPluginsOverviewTable\filterData(), and ilPluginsOverviewTable\getContent().
Here is the caller graph for this function:| ilPluginInfo::getMaximumILIASVersion | ( | ) |
Definition at line 162 of file class.ilPluginInfo.php.
References $maximum_ilias_version.
Referenced by ilPluginsOverviewTable\getContent().
Here is the caller graph for this function:| ilPluginInfo::getMinimumILIASVersion | ( | ) |
Definition at line 157 of file class.ilPluginInfo.php.
References $minimum_ilias_version.
Referenced by ilPluginsOverviewTable\getContent().
Here is the caller graph for this function:| ilPluginInfo::getName | ( | ) |
Definition at line 102 of file class.ilPluginInfo.php.
References $name.
Referenced by ilPluginsOverviewTable\filterData(), getClassName(), getConfigGUIClassName(), getPath(), and ilPluginsOverviewTable\getTable().
Here is the caller graph for this function:| ilPluginInfo::getPath | ( | ) |
Definition at line 112 of file class.ilPluginInfo.php.
References getComponent(), getName(), getPluginSlot(), getType(), and ilComponentRepository\PLUGIN_BASE_PATH.
Here is the call graph for this function:| ilPluginInfo::getPluginSlot | ( | ) |
Definition at line 87 of file class.ilPluginInfo.php.
References $pluginslot.
Referenced by ilPluginsOverviewTable\filterData(), ilPluginsOverviewTable\getContent(), getPath(), and ilPluginsOverviewTable\getTable().
Here is the caller graph for this function:| ilPluginInfo::getReasonForInactivity | ( | ) |
Which is the reason for the inactivity?
LogicException if plugin is actually active.
Definition at line 254 of file class.ilPluginInfo.php.
References isActivated(), isActive(), isCompliantToILIAS(), isInstalled(), isUpdateRequired(), and isVersionToOld().
Here is the call graph for this function:| ilPluginInfo::getResponsible | ( | ) |
Definition at line 167 of file class.ilPluginInfo.php.
References $responsible.
Referenced by ilPluginsOverviewTable\getContent().
Here is the caller graph for this function:| ilPluginInfo::getResponsibleMail | ( | ) |
Definition at line 172 of file class.ilPluginInfo.php.
References $responsible_mail.
Referenced by ilPluginsOverviewTable\getContent().
Here is the caller graph for this function:| ilPluginInfo::getType | ( | ) |
Definition at line 107 of file class.ilPluginInfo.php.
References $type.
Referenced by getPath().
Here is the caller graph for this function:| ilPluginInfo::isActivated | ( | ) |
"activated" tells if the administrator of the installation wants the plugin to be effective.
Compare to "active".
Definition at line 137 of file class.ilPluginInfo.php.
References $activated.
Referenced by getReasonForInactivity(), and isActive().
Here is the caller graph for this function:| ilPluginInfo::isActivationPossible | ( | ) |
Can this plugin be activated right now.
Definition at line 231 of file class.ilPluginInfo.php.
References isCompliantToILIAS(), isInstalled(), isUpdateRequired(), and isVersionToOld().
Referenced by ilPluginsOverviewTable\getActions(), and isActive().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPluginInfo::isActive | ( | ) |
Is this plugin active right now?
Definition at line 242 of file class.ilPluginInfo.php.
References isActivated(), and isActivationPossible().
Referenced by ilPluginsOverviewTable\filterData(), ilPluginsOverviewTable\getActions(), ilPluginsOverviewTable\getContent(), ilPluginsOverviewTable\getImportantFields(), and getReasonForInactivity().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPluginInfo::isCompliantToILIAS | ( | ) |
"ILIAS Version compliance" tells if the plugin can be operated with the given ILIAS version.
Definition at line 221 of file class.ilPluginInfo.php.
Referenced by getReasonForInactivity(), isActivationPossible(), and ilPluginInfoTest\testIsCompliantToILIAS().
Here is the caller graph for this function:| ilPluginInfo::isInstalled | ( | ) |
"Installed" tells if the plugin has some installed version.
Definition at line 195 of file class.ilPluginInfo.php.
Referenced by ilPluginsOverviewTable\getActions(), ilPluginsOverviewTable\getContent(), ilPluginsOverviewTable\getImportantFields(), getReasonForInactivity(), isActivationPossible(), and isUpdateRequired().
Here is the caller graph for this function:| ilPluginInfo::isUpdateRequired | ( | ) |
"Update required" tells if the plugin needs an update.
Definition at line 203 of file class.ilPluginInfo.php.
References isInstalled().
Referenced by ilPluginsOverviewTable\getActions(), ilPluginsOverviewTable\getContent(), ilPluginsOverviewTable\getImportantFields(), getReasonForInactivity(), and isActivationPossible().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 212 of file class.ilPluginInfo.php.
Referenced by getReasonForInactivity(), isActivationPossible(), and ilPluginInfoTest\testIsVersionOld().
Here is the caller graph for this function:| ilPluginInfo::supportsCLISetup | ( | ) |
Definition at line 187 of file class.ilPluginInfo.php.
References $supports_cli_setup.
Referenced by ilPluginsOverviewTable\getContent().
Here is the caller graph for this function:| ilPluginInfo::supportsExport | ( | ) |
Definition at line 182 of file class.ilPluginInfo.php.
References $supports_export.
Referenced by ilPluginsOverviewTable\getContent().
Here is the caller graph for this function:| ilPluginInfo::supportsLearningProgress | ( | ) |
Definition at line 177 of file class.ilPluginInfo.php.
References $supports_learning_progress.
Referenced by ilPluginsOverviewTable\getContent().
Here is the caller graph for this function:
|
protected |
Definition at line 33 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 36 of file class.ilPluginInfo.php.
Referenced by __construct(), and getAvailableVersion().
|
protected |
Definition at line 35 of file class.ilPluginInfo.php.
Referenced by __construct(), and getCurrentDBVersion().
|
protected |
Definition at line 34 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 38 of file class.ilPluginInfo.php.
Referenced by __construct(), and getMaximumILIASVersion().
|
protected |
Definition at line 37 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 39 of file class.ilPluginInfo.php.
Referenced by __construct(), and getResponsible().
|
protected |
Definition at line 40 of file class.ilPluginInfo.php.
Referenced by __construct(), and getResponsibleMail().
|
protected |
Definition at line 43 of file class.ilPluginInfo.php.
Referenced by __construct(), and supportsCLISetup().
|
protected |
Definition at line 42 of file class.ilPluginInfo.php.
Referenced by __construct(), and supportsExport().
|
protected |
Definition at line 41 of file class.ilPluginInfo.php.
Referenced by __construct(), and supportsLearningProgress().
|
protected |
Definition at line 32 of file class.ilPluginInfo.php.
Referenced by __construct(), and getType().