• Main Page
  • Related Pages
  • Modules
  • Namespaces
  • Data Structures
  • Files
  • File List
  • Globals

classes/class.ilObjFolderListGUI.php

Go to the documentation of this file.
00001 <?php
00002 /*
00003         +-----------------------------------------------------------------------------+
00004         | ILIAS open source                                                           |
00005         +-----------------------------------------------------------------------------+
00006         | Copyright (c) 1998-2001 ILIAS open source, University of Cologne            |
00007         |                                                                             |
00008         | This program is free software; you can redistribute it and/or               |
00009         | modify it under the terms of the GNU General Public License                 |
00010         | as published by the Free Software Foundation; either version 2              |
00011         | of the License, or (at your option) any later version.                      |
00012         |                                                                             |
00013         | This program is distributed in the hope that it will be useful,             |
00014         | but WITHOUT ANY WARRANTY; without even the implied warranty of              |
00015         | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               |
00016         | GNU General Public License for more details.                                |
00017         |                                                                             |
00018         | You should have received a copy of the GNU General Public License           |
00019         | along with this program; if not, write to the Free Software                 |
00020         | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA. |
00021         +-----------------------------------------------------------------------------+
00022 */
00023 
00024 
00035 include_once "class.ilObjectListGUI.php";
00036 
00037 class ilObjFolderListGUI extends ilObjectListGUI
00038 {
00043         function ilObjFolderListGUI()
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 = false;
00057                 $this->payment_enabled = false;
00058                 $this->type = "fold";
00059                 $this->gui_class_name = "ilobjfoldergui";
00060 
00061                 // general commands array
00062                 include_once('class.ilObjFolderAccess.php');
00063                 $this->commands = ilObjFolderAccess::_getCommands();
00064         }
00065 
00073         function getCommandLink($a_cmd)
00074         {
00075                 // separate method for this line
00076                 $cmd_link = "repository.php?ref_id=".$this->ref_id."&cmd=$a_cmd";
00077 
00078                 return $cmd_link;
00079         }
00080 
00081 
00082 } // END class.ilObjFolderListGUI
00083 ?>

Generated on Fri Dec 13 2013 13:52:07 for ILIAS Release_3_7_x_branch .rev 46817 by  doxygen 1.7.1