ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilLinkResourceHandlerGUI Class Reference

Handles user interface for link resources. More...

+ Collaboration diagram for ilLinkResourceHandlerGUI:

Public Member Functions

 __construct ()
 
 executeCommand ()
 execute command More...
 

Detailed Description

Handles user interface for link resources.

Author
Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e
Version
$Id$

@ilCtrl_Calls ilLinkResourceHandlerGUI: ilObjLinkResourceGUI

Definition at line 35 of file class.ilLinkResourceHandlerGUI.php.

Constructor & Destructor Documentation

◆ __construct()

ilLinkResourceHandlerGUI::__construct ( )

Definition at line 37 of file class.ilLinkResourceHandlerGUI.php.

38 {
39 global $ilCtrl, $lng, $ilAccess, $ilias, $ilNavigationHistory;
40
41 // initialisation stuff
42 $this->ctrl =&$ilCtrl;
43 }
global $ilCtrl
Definition: ilias.php:18
global $lng
Definition: privfeed.php:17

References $ilCtrl, and $lng.

Member Function Documentation

◆ executeCommand()

ilLinkResourceHandlerGUI::executeCommand ( )

execute command

Definition at line 48 of file class.ilLinkResourceHandlerGUI.php.

49 {
50 global $lng, $ilAccess, $tpl, $ilNavigationHistory;
51
52 $cmd = $this->ctrl->getCmd();
53 $next_class = $this->ctrl->getNextClass($this);
54 if ($next_class == "") {
55 $this->ctrl->setCmdClass("ilobjlinkresourcegui");
56 $next_class = $this->ctrl->getNextClass($this);
57 }
58
59 // add entry to navigation history
60 if ($ilAccess->checkAccess("read", "", $_GET["ref_id"])) {
61 $ilNavigationHistory->addItem(
62 $_GET["ref_id"],
63 "ilias.php?baseClass=ilLinkResourceHandlerGUI&cmd=infoScreen&ref_id=" . $_GET["ref_id"],
64 "webr"
65 );
66 }
67
68 switch ($next_class) {
69 case 'ilobjlinkresourcegui':
70 require_once "./Modules/WebResource/classes/class.ilObjLinkResourceGUI.php";
72 $this->ctrl->forwardCommand($link_gui);
73 break;
74 }
75
76 $tpl->show();
77 }
$tpl
Definition: ilias.php:10
$_GET["client_id"]
Class ilObjLinkResourceGUI.

References $_GET, $lng, $tpl, and ilObject2GUI\REPOSITORY_NODE_ID.


The documentation for this class was generated from the following file: