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