27     protected \ILIAS\Wiki\Navigation\ImportantPageManager 
$imp_pages;
    29     protected \ILIAS\Wiki\InternalGUIService 
$gui;
    32     protected \ILIAS\Wiki\Page\PageManager 
$pm;
    33     protected \ILIAS\Wiki\InternalDomainService 
$domain;
    34     protected \ILIAS\Wiki\InternalService 
$service;
    41         $this->service = $DIC->wiki()->internal();
    43         $this->domain = $this->service->domain();
    44         $this->gui = $this->service->gui();
    45         $this->wiki_request = $this->gui->request();
    47         $ref_id = $this->wiki_request->getRefId();
    48         $this->pm = $this->domain->page()->page(
$ref_id);
    49         $this->wiki_manager = $this->domain->wiki();
    50         $this->imp_pages = $this->domain->importantPage(
$ref_id);
    51         $this->lang = $this->wiki_request->getTranslation();
    53         $this->
ctrl = $this->gui->ctrl();
    54         $this->
lng = $this->domain->lng();
    55         $this->
access = $this->domain->access();
    59         $this->
lng->loadLanguageModule(
"wiki");
    62         $this->
setTitle($this->
lng->txt(
"wiki_navigation"));
    63         $this->allow_moving = 
false;
    64         $this->gui = $DIC->wiki()->internal()->gui();
    69         return self::$block_type;
    85         $cmd = $ilCtrl->getCmd(
"getHTML");
    87         switch ($next_class) {
    93     public function getHTML(
bool $a_export = 
false): string
    98         $this->export = $a_export;
   100         if (!$this->export && 
ilWikiPerm::check(
"edit_wiki_navigation", $this->requested_ref_id)) {
   102                 $ilCtrl->getLinkTargetByClass(
"ilobjwikigui", 
"editImportantPages"),
   107         return parent::getHTML();
   114         $listing = $this->gui->listing();
   117         $start_page_id = $this->wiki_manager->getStartingPageId($this->requested_ref_id);
   119         if ($this->pm->exists($start_page_id, $this->lang)) {
   120             $title = $this->pm->getTitle($start_page_id, $this->lang);
   121             if (!$this->export) {
   122                 $listing->node($this->
ui->factory()->link()->standard(
   124                     $this->pm->getPermaLink($start_page_id, $this->lang)
   127                 $listing->node($this->
ui->factory()->link()->standard(
   136         foreach ($this->imp_pages->getList() as $p) {
   140                 if (!$this->export) {
   141                     $listing->node($this->
ui->factory()->link()->standard(
   144                     ), (string) $cnt, (
string) ($cpar[$p->getIndent() - 1] ?? 0));
   146                     $listing->node($this->
ui->factory()->link()->standard(
   148                         "wpg_" . $p->getId() . 
".html"   149                     ), (
string) $cnt, (string) ($cpar[$p->getIndent() - 1] ?? 0));
   151                 $cpar[$p->getIndent()] = $cnt;
   155         return $listing->render();
 
ILIAS Wiki InternalService $service
 
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
 
setEnableNumInfo(bool $a_enablenuminfo)
 
ILIAS Wiki Wiki DomainService $wiki_manager
 
ILIAS Wiki Navigation ImportantPageManager $imp_pages
 
ILIAS Wiki Page PageManager $pm
 
getNextClass($a_gui_class=null)
 
ILIAS Wiki InternalGUIService $gui
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
ILIAS Wiki InternalDomainService $domain
 
addBlockCommand(string $a_href, string $a_text, string $a_onclick="", RoundTrip $modal=null)
 
getHTML(bool $a_export=false)
 
ILIAS Wiki WikiGUIRequest $wiki_request
 
__construct(Container $dic, ilPlugin $plugin)
 
setTitle(string $a_title)
 
static check(string $a_perm, int $a_ref_id, string $a_cmd="")
 
This class represents a block method of a block. 
 
static string $block_type