ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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 {
56 $this->ctrl->setCmdClass("ilobjlinkresourcegui");
57 $next_class = $this->ctrl->getNextClass($this);
58 }
59
60 // add entry to navigation history
61 if ($ilAccess->checkAccess("read", "", $_GET["ref_id"]))
62 {
63 $ilNavigationHistory->addItem($_GET["ref_id"],
64 "ilias.php?baseClass=ilLinkResourceHandlerGUI&cmd=infoScreen&ref_id=".$_GET["ref_id"], "webr");
65 }
66
67 switch ($next_class)
68 {
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 }
global $tpl
Definition: ilias.php:8
$_GET["client_id"]
Class ilObjLinkResourceGUI.
$cmd
Definition: sahs_server.php:35

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


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