|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
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 Member Functions | |
| normalizePath (string $path) | |
| Resolves "." and ".." segments without touching the file system, so it also works for plugins which are not installed (yet). 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 178 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 149 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 154 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 173 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 168 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 188 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 183 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(), normalizePath(), 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 280 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 193 of file class.ilPluginInfo.php.
References $responsible.
Referenced by ilPluginsOverviewTable\getContent().
Here is the caller graph for this function:| ilPluginInfo::getResponsibleMail | ( | ) |
Definition at line 198 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 163 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 257 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 268 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 247 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 221 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 229 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 238 of file class.ilPluginInfo.php.
Referenced by getReasonForInactivity(), isActivationPossible(), and ilPluginInfoTest\testIsVersionOld().
Here is the caller graph for this function:
|
protected |
Resolves "." and ".." segments without touching the file system, so it also works for plugins which are not installed (yet).
ilComponentRepository::PLUGIN_BASE_PATH is built from DIR and therefore carries a "../../../.." which would otherwise end up in every path handed out to a plugin.
Definition at line 132 of file class.ilPluginInfo.php.
Referenced by getPath().
Here is the caller graph for this function:| ilPluginInfo::supportsCLISetup | ( | ) |
Definition at line 213 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 208 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 203 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().