ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
ilLinkResourceHandlerGUI Class Reference

Handles user interface for link resources. More...

+ Collaboration diagram for ilLinkResourceHandlerGUI:

Public Member Functions

 ilLinkResourceHandlerGUI ()
 
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.

Member Function Documentation

◆ executeCommand()

& ilLinkResourceHandlerGUI::executeCommand ( )

execute command

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

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

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

◆ ilLinkResourceHandlerGUI()

ilLinkResourceHandlerGUI::ilLinkResourceHandlerGUI ( )

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
44 //$ilNavigationHistory->addItem($_GET["ref_id"],
45 // "ilias.php?baseClass=ilGlossaryEditorGUI&ref_id=".$_GET["ref_id"]);
46
47 }
global $ilCtrl
Definition: ilias.php:18

References $ilCtrl, and $lng.


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