ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.ilObjRootFolderListGUI.php
Go to the documentation of this file.
1
<?
php
2
/*
3
+-----------------------------------------------------------------------------+
4
| ILIAS open source |
5
+-----------------------------------------------------------------------------+
6
| Copyright (c) 1998-2001 ILIAS open source, University of Cologne |
7
| |
8
| This program is free software; you can redistribute it and/or |
9
| modify it under the terms of the GNU General Public License |
10
| as published by the Free Software Foundation; either version 2 |
11
| of the License, or (at your option) any later version. |
12
| |
13
| This program is distributed in the hope that it will be useful, |
14
| but WITHOUT ANY WARRANTY; without even the implied warranty of |
15
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16
| GNU General Public License for more details. |
17
| |
18
| You should have received a copy of the GNU General Public License |
19
| along with this program; if not, write to the Free Software |
20
| Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
21
+-----------------------------------------------------------------------------+
22
*/
23
24
35
include_once
"Services/Object/classes/class.ilObjectListGUI.php"
;
36
37
class
ilObjRootFolderListGUI
extends
ilObjectListGUI
38
{
39
public
function
__construct
()
40
{
41
parent::__construct();
42
}
43
47
public
function
init
()
48
{
49
$this->copy_enabled =
false
;
50
$this->delete_enabled =
true
;
51
$this->cut_enabled =
true
;
52
$this->subscribe_enabled =
true
;
53
$this->link_enabled =
false
;
54
$this->type =
"root"
;
55
$this->gui_class_name =
"ilobjrootfoldergui"
;
56
57
// general commands array
58
include_once(
'./Modules/RootFolder/classes/class.ilObjRootFolderAccess.php'
);
59
$this->commands =
ilObjRootFolderAccess::_getCommands
();
60
}
61
69
public
function
getCommandLink
($a_cmd)
70
{
71
global
$ilCtrl
;
72
73
$ilCtrl->setParameterByClass(
"ilrepositorygui"
,
"ref_id"
, $this->ref_id);
74
$cmd_link = $ilCtrl->getLinkTargetByClass(
"ilrepositorygui"
, $a_cmd);
75
$ilCtrl->setParameterByClass(
"ilrepositorygui"
,
"ref_id"
,
$_GET
[
"ref_id"
]);
76
77
return
$cmd_link;
78
}
79
}
// END class.ilObjRootFolderGUI
ilObjRootFolderListGUI\init
init()
initialisation
Definition:
class.ilObjRootFolderListGUI.php:47
$_GET
$_GET["client_id"]
Definition:
cfg.phpunit.template.php:12
ilObjRootFolderAccess\_getCommands
static _getCommands()
get commands
Definition:
class.ilObjRootFolderAccess.php:48
$ilCtrl
global $ilCtrl
Definition:
ilias.php:18
ilObjectListGUI
Class ilObjectListGUI.
Definition:
class.ilObjectListGUI.php:23
ilObjRootFolderListGUI\getCommandLink
getCommandLink($a_cmd)
Get command link url.
Definition:
class.ilObjRootFolderListGUI.php:69
ilObjRootFolderListGUI\__construct
__construct()
Definition:
class.ilObjRootFolderListGUI.php:39
php
ilObjRootFolderListGUI
Class ilObjRootFolderListGUI.
Definition:
class.ilObjRootFolderListGUI.php:37
Modules
RootFolder
classes
class.ilObjRootFolderListGUI.php
Generated on Thu Jan 16 2025 19:02:07 for ILIAS by
1.8.13 (using
Doxyfile
)