ILIAS
release_8 Revision v8.24
◀ ilDoc Overview
class.ilObjRootFolderListGUI.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
18
use
ILIAS\RootFolder\StandardGUIRequest
;
19
25
class
ilObjRootFolderListGUI
extends
ilObjectListGUI
26
{
27
protected
StandardGUIRequest
$root_request
;
28
29
public
function
__construct
()
30
{
32
global
$DIC
;
33
34
parent::__construct
();
35
36
$this->root_request =
$DIC
37
->rootFolder()
38
->internal()
39
->gui()
40
->standardRequest();
41
}
42
43
public
function
init
(): void
44
{
45
$this->copy_enabled =
false
;
46
$this->delete_enabled =
true
;
47
$this->cut_enabled =
true
;
48
$this->subscribe_enabled =
true
;
49
$this->link_enabled =
false
;
50
$this->type =
"root"
;
51
$this->gui_class_name =
"ilobjrootfoldergui"
;
52
53
// general commands array
54
$this->commands =
ilObjRootFolderAccess::_getCommands
();
55
}
56
57
public
function
getCommandLink
(
string
$cmd): string
58
{
59
global $ilCtrl;
60
61
$ilCtrl->setParameterByClass(
"ilrepositorygui"
,
"ref_id"
, $this->ref_id);
62
$cmd_link = $ilCtrl->getLinkTargetByClass(
"ilrepositorygui"
, $cmd);
63
$ilCtrl->setParameterByClass(
"ilrepositorygui"
,
"ref_id"
, $this->root_request->getRefId());
64
65
return
$cmd_link;
66
}
67
}
ILIAS\RootFolder\StandardGUIRequest
Definition:
class.StandardGUIRequest.php:23
ilObjRootFolderAccess\_getCommands
static _getCommands()
get commands
Definition:
class.ilObjRootFolderAccess.php:37
ilObjRootFolderListGUI
Class ilObjRootFolderListGUI.
Definition:
class.ilObjRootFolderListGUI.php:26
ilObjRootFolderListGUI\getCommandLink
getCommandLink(string $cmd)
Get command link url.
Definition:
class.ilObjRootFolderListGUI.php:57
ilObjRootFolderListGUI\init
init()
initialisation
Definition:
class.ilObjRootFolderListGUI.php:43
ilObjRootFolderListGUI\$root_request
StandardGUIRequest $root_request
Definition:
class.ilObjRootFolderListGUI.php:27
ilObjectListGUI
Important note:
Definition:
class.ilObjectListGUI.php:42
$DIC
global $DIC
Definition:
feed.php:28
ILIAS\GlobalScreen\Provider\__construct
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
Definition:
PluginProviderHelper.php:37
Modules
RootFolder
classes
class.ilObjRootFolderListGUI.php
Generated on Sun Nov 2 2025 22:01:16 for ILIAS by
1.9.4 (using
Doxyfile
)