ILIAS  release_4-3 Revision
 All Data Structures Namespaces Files Functions Variables Groups Pages
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->payment_enabled = false;
28  $this->type = "root";
29  $this->gui_class_name = "ilobjworkspacerootfoldergui";
30 
31  // general commands array
32  include_once('./Modules/WorkspaceRootFolder/classes/class.ilObjWorkspaceRootFolderAccess.php');
34  }
35 
43  function getCommandLink($a_cmd)
44  {
45  global $ilCtrl;
46 
47  // does this make any sense!?
48  $ilCtrl->setParameterByClass("ilrepositorygui", "ref_id", $this->ref_id);
49  $cmd_link = $ilCtrl->getLinkTargetByClass("ilrepositorygui", $a_cmd);
50  $ilCtrl->setParameterByClass("ilrepositorygui", "ref_id", $_GET["ref_id"]);
51 
52  return $cmd_link;
53  }
54 
55 
56 } // END class.ilObjWorkspaceRootFolderGUI
57 ?>