ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
class.ilObjWorkspaceRootFolderListGUI.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
4 
5 include_once "Services/Object/classes/class.ilObjectListGUI.php";
6 
16 {
20  public function init()
21  {
22  $this->copy_enabled = false;
23  $this->delete_enabled = false;
24  $this->cut_enabled = false;
25  $this->subscribe_enabled = false;
26  $this->link_enabled = false;
27  $this->type = "root";
28  $this->gui_class_name = "ilobjworkspacerootfoldergui";
29 
30  // general commands array
31  include_once('./Modules/WorkspaceRootFolder/classes/class.ilObjWorkspaceRootFolderAccess.php');
33  }
34 
42  public function getCommandLink($a_cmd)
43  {
45 
46  // does this make any sense!?
47  $ilCtrl->setParameterByClass("ilrepositorygui", "ref_id", $this->ref_id);
48  $cmd_link = $ilCtrl->getLinkTargetByClass("ilrepositorygui", $a_cmd);
49  $ilCtrl->setParameterByClass("ilrepositorygui", "ref_id", $_GET["ref_id"]);
50 
51  return $cmd_link;
52  }
53 } // END class.ilObjWorkspaceRootFolderGUI
$_GET["client_id"]
global $ilCtrl
Definition: ilias.php:18
Class ilObjectListGUI.
Class ilObjWorkspaceRootFolderListGUI.