ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
class.ilObjWorkspaceRootFolderListGUI.php
Go to the documentation of this file.
1
<?php
2
19
use
ILIAS\PersonalWorkspace\StandardGUIRequest
;
20
26
class
ilObjWorkspaceRootFolderListGUI
extends
ilObjectListGUI
27
{
28
protected
StandardGUIRequest
$request
;
29
30
public
function
init
(): void
31
{
32
global
$DIC
;
33
34
$this->copy_enabled =
false
;
35
$this->delete_enabled =
false
;
36
$this->cut_enabled =
false
;
37
$this->subscribe_enabled =
false
;
38
$this->link_enabled =
false
;
39
$this->type =
"root"
;
40
$this->gui_class_name =
"ilobjworkspacerootfoldergui"
;
41
$this->request =
new
StandardGUIRequest
(
42
$DIC
->http(),
43
$DIC
->refinery()
44
);
45
46
// general commands array
47
$this->commands =
ilObjWorkspaceRootFolderAccess::_getCommands
();
48
}
49
53
public
function
getCommandLink
(
string
$cmd): string
54
{
55
$ilCtrl =
$this->ctrl
;
56
57
// does this make any sense!?
58
$ilCtrl->
setParameterByClass
(
"ilrepositorygui"
,
"ref_id"
, $this->ref_id);
59
$cmd_link = $ilCtrl->getLinkTargetByClass(
"ilrepositorygui"
, $cmd);
60
$ilCtrl->setParameterByClass(
"ilrepositorygui"
,
"ref_id"
, $this->request->getRefId());
61
62
return
$cmd_link;
63
}
64
}
ILIAS\PersonalWorkspace\StandardGUIRequest
Definition:
class.StandardGUIRequest.php:24
ilObjWorkspaceRootFolderAccess\_getCommands
static _getCommands()
get commands
Definition:
class.ilObjWorkspaceRootFolderAccess.php:38
ilObjWorkspaceRootFolderListGUI
Class ilObjWorkspaceRootFolderListGUI.
Definition:
class.ilObjWorkspaceRootFolderListGUI.php:27
ilObjWorkspaceRootFolderListGUI\$request
StandardGUIRequest $request
Definition:
class.ilObjWorkspaceRootFolderListGUI.php:28
ilObjWorkspaceRootFolderListGUI\init
init()
initialisation
Definition:
class.ilObjWorkspaceRootFolderListGUI.php:30
ilObjWorkspaceRootFolderListGUI\getCommandLink
getCommandLink(string $cmd)
Get command link url.
Definition:
class.ilObjWorkspaceRootFolderListGUI.php:53
ilObjectListGUI
Important note:
Definition:
class.ilObjectListGUI.php:48
ilObjectListGUI\$ctrl
ilCtrlInterface $ctrl
Definition:
class.ilObjectListGUI.php:89
ilCtrlInterface\setParameterByClass
setParameterByClass(string $a_class, string $a_parameter, $a_value)
Sets a parameter for the given GUI class and appends the given value as well.
$DIC
global $DIC
Definition:
shib_login.php:26
components
ILIAS
WorkspaceRootFolder
classes
class.ilObjWorkspaceRootFolderListGUI.php
Generated on Sat Oct 18 2025 23:05:02 for ILIAS by
1.9.4 (using
Doxyfile
)