Class ilGlossaryEditorGUI.
More...
Detailed Description
Member Function Documentation
& ilGlossaryEditorGUI::executeCommand |
( |
| ) |
|
execute command
Definition at line 43 of file class.ilGlossaryEditorGUI.php.
References $_GET, $cmd, and $lng.
{
$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";
$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;
$lng->loadLanguageModule("content");
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: