26 case EDIT_EXTERNAL =
'editExternal';
27 case INFO_PAGE =
'showSummary';
28 case FORCED_INFO_PAGE =
'showSummaryForced';
29 case MANAGE_VERSIONS =
'versions';
30 case EDIT_SETTINGS =
'edit';
31 case UNZIP =
'unzipCurrentRevision';
32 case DOWNLOAD =
'sendfile';
33 case VIEW_EXTERNAL =
'viewExternal';
38 foreach (self::cases() as $case) {
39 if ($name === $case->name) {
46 public static function fromCommand(
string $cmd):
Capabilities 48 foreach (self::cases() as $case) {
49 if ($cmd === $case->value) {
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...