38        $this->
lng = $DIC->language();
 
   39        $this->
access = $DIC->access();
 
   40        $this->tpl = 
$DIC[
"tpl"];
 
   41        $this->nav_history = 
$DIC[
"ilNavigationHistory"];
 
   42        $ilCtrl = 
$DIC->ctrl();
 
   46        $this->
ctrl = $ilCtrl;
 
   54        $this->requested_ref_id = $request->getRefId();
 
   55        $this->requested_page = $request->getPage();
 
   57        $DIC->globalScreen()->tool()->context()->claim()->repository();
 
   66        $next_class = $this->
ctrl->getNextClass($this);
 
   67        if ($next_class == 
"") {
 
   68            $this->
ctrl->setCmdClass(
"ilobjwikigui");
 
   69            $next_class = $this->
ctrl->getNextClass($this);
 
   73        if ($ilAccess->checkAccess(
"read", 
"", $this->requested_ref_id)) {
 
   77            if ($this->requested_page !== 
"") {
 
   84                $add = 
"_" . rawurlencode($page);
 
   89                $title .= 
": " . $ptitle;
 
   91                $append = ($this->requested_page !== 
"")
 
   95                    $this->requested_ref_id,
 
  101                $ilNavigationHistory->addItem(
 
  102                    $this->requested_ref_id,
 
  103                    "./goto.php?target=wiki_" . $this->requested_ref_id . $add,
 
  112        switch ($next_class) {
 
  116                    $this->requested_ref_id,
 
  120                $this->
ctrl->forwardCommand($mc_gui);
 
Class ilCtrl provides processing control methods.
 
static _getStaticLink(?int $a_ref_id, string $a_type='', bool $a_fallback_goto=true, string $append="")
Get static link.
 
Navigation History of Repository Items.
 
static _lookupStartPage(int $a_wiki_id)
 
static _lookupObjId(int $ref_id)
 
static _lookupTitle(int $obj_id)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
ilNavigationHistory $nav_history
 
ilGlobalTemplateInterface $tpl
 
static exists(int $a_wiki_id, string $a_title)
Checks whether a page with given title exists.
 
static getPageIdForTitle(int $a_wiki_id, string $a_title)
Get wiki page object for id and title.
 
static lookupTitle(int $a_page_id)
 
static makeUrlTitle(string $a_par)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
Interface ilCtrlBaseClassInterface describes ilCtrl base classes.
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
printToStdout(string $part=self::DEFAULT_BLOCK, bool $has_tabs=true, bool $skip_main_menu=false)