Handles user interface for link resources.
More...
◆ __construct()
ilLinkResourceHandlerGUI::__construct |
( |
| ) |
|
Definition at line 37 of file class.ilLinkResourceHandlerGUI.php.
References $DIC, and $lng.
41 $ilCtrl = $DIC[
'ilCtrl'];
43 $ilAccess = $DIC[
'ilAccess'];
44 $ilias = $DIC[
'ilias'];
45 $ilNavigationHistory = $DIC[
'ilNavigationHistory'];
48 $this->ctrl = &$ilCtrl;
◆ executeCommand()
ilLinkResourceHandlerGUI::executeCommand |
( |
| ) |
|
execute command
Definition at line 54 of file class.ilLinkResourceHandlerGUI.php.
References $_GET, $DIC, $lng, $tpl, and ilObject2GUI\REPOSITORY_NODE_ID.
59 $ilAccess = $DIC[
'ilAccess'];
61 $ilNavigationHistory = $DIC[
'ilNavigationHistory'];
63 $cmd = $this->ctrl->getCmd();
64 $next_class = $this->ctrl->getNextClass($this);
65 if ($next_class ==
"") {
66 $this->ctrl->setCmdClass(
"ilobjlinkresourcegui");
67 $next_class = $this->ctrl->getNextClass($this);
71 if ($ilAccess->checkAccess(
"read",
"",
$_GET[
"ref_id"])) {
72 $ilNavigationHistory->addItem(
74 "ilias.php?baseClass=ilLinkResourceHandlerGUI&cmd=infoScreen&ref_id=" .
$_GET[
"ref_id"],
79 switch ($next_class) {
80 case 'ilobjlinkresourcegui':
81 require_once
"./Modules/WebResource/classes/class.ilObjLinkResourceGUI.php";
83 $this->ctrl->forwardCommand($link_gui);
87 $tpl->printToStdout();
Class ilObjLinkResourceGUI.
if($DIC->http() ->request() ->getMethod()=="GET" &&isset($DIC->http() ->request() ->getQueryParams()['tex'])) $tpl
The documentation for this class was generated from the following file: