Go to the documentation of this file.00001 <?php
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00035 include_once "classes/class.ilObjectListGUI.php";
00036
00037 class ilObjGroupListGUI extends ilObjectListGUI
00038 {
00043 function ilObjGroupListGUI()
00044 {
00045 $this->ilObjectListGUI();
00046 }
00047
00053 function init()
00054 {
00055 $this->delete_enabled = true;
00056 $this->cut_enabled = true;
00057 $this->subscribe_enabled = true;
00058 $this->link_enabled = false;
00059 $this->payment_enabled = false;
00060 $this->info_screen_enabled = true;
00061 $this->type = "grp";
00062 $this->gui_class_name = "ilobjgroupgui";
00063
00064
00065 include_once('class.ilObjGroupAccess.php');
00066 $this->commands = ilObjGroupAccess::_getCommands();
00067 }
00068
00078 function getCommandLink($a_cmd)
00079 {
00080 switch($a_cmd)
00081 {
00082 case "view":
00083 case "join":
00084
00085
00086
00087 $cmd_link = "repository.php?ref_id=".$this->ref_id."&cmd=$a_cmd";
00088 break;
00089
00090 case "edit":
00091 default:
00092 $cmd_link = "repository.php?ref_id=".$this->ref_id."&cmd=$a_cmd";
00093 break;
00094 }
00095
00096 return $cmd_link;
00097 }
00098
00099
00108 function getProperties()
00109 {
00110 global $lng, $rbacsystem;
00111
00112 $props = array();
00113
00114 return $props;
00115 }
00116 }
00117 ?>