This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
More...
|
| Check |
| This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
|
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning
- Author
- Fabian Schmid fabia.nosp@m.n@sr.nosp@m..solu.nosp@m.tion.nosp@m.s
◆ Capabilities
enum ILIAS::File::Capabilities::Capabilities : string |
Definition at line 24 of file Capabilities.php.
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) {
◆ Permissions
enum ILIAS\File\Capabilities\Capability::Permissions[] |
Definition at line 24 of file Permissions.php.
27 case VISIBLE =
'visible';
29 case VIEW_CONTENT =
'view_content';
30 case READ_LP =
'read_learning_progress';
31 case EDIT_LP =
'edit_learning_progress';
32 case EDIT_PERMISSIONS =
'edit_permission';
36 case EDIT_CONTENT =
'edit_file';
38 public static function ANY(): array
46 self::EDIT_PERMISSIONS,