ILIAS  Release_4_4_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilGlossaryEditorGUI Class Reference

Class ilGlossaryEditorGUI. More...

+ Collaboration diagram for ilGlossaryEditorGUI:

Public Member Functions

 ilGlossaryEditorGUI ()
executeCommand ()
 execute command

Detailed Description

Class ilGlossaryEditorGUI.

GUI class for Glossary Editor

Author
Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e
Version
Id:
class.ilGlossaryEditorGUI.php 42218 2013-05-15 12:50:34Z jluetzen

ilGlossaryEditorGUI: ilObjGlossaryGUI

Definition at line 17 of file class.ilGlossaryEditorGUI.php.

Member Function Documentation

& ilGlossaryEditorGUI::executeCommand ( )

execute command

Definition at line 43 of file class.ilGlossaryEditorGUI.php.

References $_GET, $cmd, and $lng.

{
global $lng, $ilAccess;
$cmd = $this->ctrl->getCmd();
$next_class = $this->ctrl->getNextClass($this);
if ($next_class == "")
{
$this->ctrl->setCmdClass("ilobjglossarygui");
$this->ctrl->setCmd("");
}
switch ($next_class)
{
case 'ilobjglossarygui':
default:
require_once "./Modules/Glossary/classes/class.ilObjGlossaryGUI.php";
$glossary_gui =& new ilObjGlossaryGUI("", $_GET["ref_id"], true, false);
$this->ctrl->forwardCommand($glossary_gui);
break;
}
}
ilGlossaryEditorGUI::ilGlossaryEditorGUI ( )

Definition at line 19 of file class.ilGlossaryEditorGUI.php.

References $_GET, $ilCtrl, and $lng.

{
global $ilCtrl, $lng, $ilAccess, $ilias, $ilNavigationHistory;
// initialisation stuff
$this->ctrl =& $ilCtrl;
$lng->loadLanguageModule("content");
// check write permission
if (!$ilAccess->checkAccess("write", "", $_GET["ref_id"]) &&
!$ilAccess->checkAccess("edit_content", "", $_GET["ref_id"]))
{
$ilias->raiseError($lng->txt("permission_denied"),$ilias->error_obj->MESSAGE);
}
$ilNavigationHistory->addItem($_GET["ref_id"],
"ilias.php?baseClass=ilGlossaryEditorGUI&ref_id=".$_GET["ref_id"],
"glo");
}

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