ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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  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  function getCommandLink($a_cmd)
43  {
44  global $ilCtrl;
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 
54 
55 } // END class.ilObjWorkspaceRootFolderGUI
56 ?>
$_GET["client_id"]
global $ilCtrl
Definition: ilias.php:18
Class ilObjectListGUI.
Class ilObjWorkspaceRootFolderListGUI.