ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilLinkResourceHandlerGUI Class Reference

Handles user interface for link resources. More...

+ Collaboration diagram for ilLinkResourceHandlerGUI:

Public Member Functions

 ilLinkResourceHandlerGUI ()
executeCommand ()
 execute command

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

& ilLinkResourceHandlerGUI::executeCommand ( )

execute command

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

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

{
global $lng, $ilAccess, $tpl, $ilNavigationHistory;
$cmd = $this->ctrl->getCmd();
$next_class = $this->ctrl->getNextClass($this);
if ($next_class == "")
{
$this->ctrl->setCmdClass("ilobjlinkresourcegui");
$next_class = $this->ctrl->getNextClass($this);
}
// add entry to navigation history
if ($ilAccess->checkAccess("read", "", $_GET["ref_id"]))
{
$ilNavigationHistory->addItem($_GET["ref_id"],
"ilias.php?baseClass=ilLinkResourceHandlerGUI&cmd=infoScreen&ref_id=".$_GET["ref_id"], "webr");
}
switch ($next_class)
{
case 'ilobjlinkresourcegui':
require_once "./Modules/WebResource/classes/class.ilObjLinkResourceGUI.php";
$this->ctrl->forwardCommand($link_gui);
break;
}
$tpl->show();
}
ilLinkResourceHandlerGUI::ilLinkResourceHandlerGUI ( )

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

References $ilCtrl, and $lng.

{
global $ilCtrl, $lng, $ilAccess, $ilias, $ilNavigationHistory;
// initialisation stuff
$this->ctrl =& $ilCtrl;
//$ilNavigationHistory->addItem($_GET["ref_id"],
// "ilias.php?baseClass=ilGlossaryEditorGUI&ref_id=".$_GET["ref_id"]);
}

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