ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f870
All Data Structures Namespaces Files Functions Variables Modules Pages
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$

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.

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

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  }
$_GET["client_id"]
$cmd
Definition: sahs_server.php:35
Class ilObjLinkResourceGUI.
global $tpl
Definition: ilias.php:8
global $lng
Definition: privfeed.php:40

◆ ilLinkResourceHandlerGUI()

ilLinkResourceHandlerGUI::ilLinkResourceHandlerGUI ( )

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

References $ilCtrl, and $lng.

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
global $lng
Definition: privfeed.php:40

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