ILIAS  Release_3_10_x_branch Revision 61812
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilWikiHandlerGUI Class Reference

Handles user interface for wikis. More...

+ Collaboration diagram for ilWikiHandlerGUI:

Public Member Functions

 ilWikiHandlerGUI ()
executeCommand ()
 execute command

Detailed Description

Handles user interface for wikis.

Author
Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e
Version
$Id$

ilWikiHandlerGUI: ilObjWikiGUI

Definition at line 35 of file class.ilWikiHandlerGUI.php.

Member Function Documentation

& ilWikiHandlerGUI::executeCommand ( )

execute command

Definition at line 49 of file class.ilWikiHandlerGUI.php.

References $_GET, $cmd, $lng, and $tpl.

{
global $lng, $ilAccess, $tpl, $ilNavigationHistory;
$cmd = $this->ctrl->getCmd();
$next_class = $this->ctrl->getNextClass($this);
if ($next_class == "")
{
$this->ctrl->setCmdClass("ilobjwikigui");
$next_class = $this->ctrl->getNextClass($this);
}
// add entry to navigation history
if ($ilAccess->checkAccess("read", "", $_GET["ref_id"]))
{
if ($_GET["page"] != "")
{
$add = "_".rawurlencode($_GET["page"]);
}
$ilNavigationHistory->addItem($_GET["ref_id"],
"./goto.php?target=wiki_".$_GET["ref_id"].$add, "wiki");
}
switch ($next_class)
{
case 'ilobjwikigui':
require_once "./Modules/Wiki/classes/class.ilObjWikiGUI.php";
$mc_gui =& new ilObjWikiGUI("", (int) $_GET["ref_id"], true, false);
$this->ctrl->forwardCommand($mc_gui);
break;
}
$tpl->show();
}
ilWikiHandlerGUI::ilWikiHandlerGUI ( )

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

References $ilCtrl, and $lng.

{
global $ilCtrl, $lng, $ilAccess, $ilias, $ilNavigationHistory;
// initialisation stuff
$this->ctrl =& $ilCtrl;
}

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