ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilObjMediaPoolListGUI.php
Go to the documentation of this file.
1<?php
2
23{
24 public function init(): void
25 {
26 $this->copy_enabled = true;
27 $this->delete_enabled = true;
28 $this->cut_enabled = true;
29 $this->subscribe_enabled = true;
30 $this->link_enabled = true;
31 $this->info_screen_enabled = true;
32 $this->type = "mep";
33 $this->gui_class_name = "ilobjmediapoolgui";
34
35 // general commands array
36 $this->commands = ilObjMediaPoolAccess::_getCommands();
37 }
38
39 public function getCommandLink(string $cmd): string
40 {
41 $cmd_link = "ilias.php?baseClass=ilMediaPoolPresentationGUI" .
42 "&ref_id=" . $this->ref_id . '&cmd=' . $cmd;
43 return $cmd_link;
44 }
45}
static _getCommands()
get commands
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getCommandLink(string $cmd)
Get command link url.