30 $this->tpl = $DIC->ui()->mainTemplate();
35 string $parent_cmd =
"" 39 $chapter_has_no_active_page = $service->
getNavigationStatus()->isChapterWithoutActivePage();
45 $requested_obj_id = $service->
getRequest()->getObjId();
51 "illmpresentationgui",
58 $exp->setMainTemplate($this->tpl);
59 $exp->setTracker($tracker);
62 $page_id = $current_page;
63 if ($deactivated_page) {
64 $page_id = $requested_obj_id;
67 $exp->setPathOpen((
int) $page_id);
70 if ($chapter_has_no_active_page &&
72 $exp->setHighlightNode($requested_obj_id);
74 if ($lm->getTOCMode() ==
"pages") {
75 if ($deactivated_page) {
76 $exp->setHighlightNode($requested_obj_id);
78 $exp->setHighlightNode($page_id);
81 $exp->setHighlightNode((
int) $lm_tree->getParentId($page_id));
85 $exp->setOfflineMode(
true);
getExplorer(ilLMPresentationService $service, string $parent_cmd="")
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ilGlobalTemplateInterface $tpl
static _lookupType(int $a_obj_id, int $a_lm_id=0)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Main service init and factory.