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 ilObjMediaPoolListGUI extends ilObjectListGUI
00038 {
00043 function ilObjMediaPoolListGUI()
00044 {
00045 $this->ilObjectListGUI();
00046 }
00047
00051 function init()
00052 {
00053 $this->delete_enabled = true;
00054 $this->cut_enabled = true;
00055 $this->subscribe_enabled = true;
00056 $this->link_enabled = true;
00057 $this->payment_enabled = false;
00058 $this->type = "mep";
00059 $this->gui_class_name = "ilobjmediapoolgui";
00060
00061
00062 include_once('class.ilObjMediaPoolAccess.php');
00063 $this->commands = ilObjMediaPoolAccess::_getCommands();
00064
00065 }
00066
00067
00076 function initItem($a_ref_id, $a_obj_id, $a_title = "", $a_description = "")
00077 {
00078 parent::initItem($a_ref_id, $a_obj_id, $a_title, $a_description);
00079 }
00080
00081
00089 function getCommandFrame($a_cmd)
00090 {
00091 switch($a_cmd)
00092 {
00093 case "":
00094 $frame = ilFrameTargetInfo::_getFrame("MainContent");
00095 break;
00096
00097 default:
00098 }
00099
00100 return $frame;
00101 }
00102
00103
00104
00113 function getProperties()
00114 {
00115 global $lng, $ilUser;
00116
00117 $props = array();
00118
00119 return $props;
00120 }
00121
00122
00130 function getCommandLink($a_cmd)
00131 {
00132
00133 $cmd_link = "content/mep_edit.php?ref_id=".$this->ref_id;
00134
00135 return $cmd_link;
00136 }
00137
00138
00139
00140 }
00141 ?>