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