Handles user interface for wikis.
More...
Detailed Description
Member Function Documentation
& ilWikiHandlerGUI::executeCommand |
( |
| ) |
|
execute command
Definition at line 49 of file class.ilWikiHandlerGUI.php.
References $_GET, $cmd, $lng, $title, $tpl, ilLink\_getStaticLink(), ilObject\_lookupObjId(), ilObjWiki\_lookupStartPage(), ilObject\_lookupTitle(), ilWikiPage\exists(), ilWikiPage\getPageIdForTitle(), ilWikiPage\lookupTitle(), and ilWikiUtil\makeUrlTitle().
{
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);
}
if ($ilAccess->checkAccess(
"read",
"",
$_GET[
"ref_id"]))
{
{
}
else
{
include_once("./Modules/Wiki/classes/class.ilObjWiki.php");
}
include_once("./Modules/Wiki/classes/class.ilWikiPage.php");
{
include_once("./Modules/Wiki/classes/class.ilWikiPage.php");
$add = "_".rawurlencode($page);
$append = (
$_GET[
"page"] !=
"")
: "";
include_once('classes/class.ilLink.php');
true, $append);
$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";
$this->ctrl->forwardCommand($mc_gui);
break;
}
$tpl->show();
}
ilWikiHandlerGUI::ilWikiHandlerGUI |
( |
| ) |
|
The documentation for this class was generated from the following file: