49 public static function new():
self
51 if (is_null(static::$instance) ===
true) {
53 static::$instance =
new self(
60 $DIC[
'ilNavigationHistory']
64 return static::$instance;
69 $this->tpl->addOnLoadCode($a_code);
74 $this->
ui->mainTemplate()->addJavaScript($filePath);
79 $this->
ui->mainTemplate()->setOnScreenMessage(
'failure', $message,
true);
84 $this->
ui->mainTemplate()->setOnScreenMessage(
'success', $message,
true);
89 $this->
error->raiseError($message);
94 $this->
ui->mainTemplate()->setOnScreenMessage(
'info', $message,
true);
97 public function addLocatorItem(
string $title,
string $link,
int $itemId): void
99 $this->locatorGui->addItem($title, $link,
"", $itemId);
104 $this->
tabs->clearTargets();
105 $this->
tabs->clearSubTabs();
108 public function setBackTab(
string $label,
string $link): void
110 $this->
tabs->setBackTarget($label, $link);
115 $this->navigationHistory->addItem(
$refId, $link,
"dcl");
120 $this->tpl->addCss($filePath);
125 $this->tpl->setPermanentLink(
"dcl",
$refId,
"_" . $tableviewId);
130 $this->tpl->setContent($content);
Provides fluid interface to RBAC services.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(ilGlobalTemplateInterface $tpl, ILIAS\DI\UIServices $ui, ilTabsGUI $tabs, ilErrorHandling $error, ilLocatorGUI $locatorGui, ilHelpGUI $help, ilNavigationHistory $navigationHistory)
ilGlobalTemplateInterface $tpl
setContent(string $content)
displayFailureMessage(string $message)
addJavaScriptFile(string $filePath)
addDataCollectionEndpointToNavigationHistory(int $refId, string $link)
addLocatorItem(string $title, string $link, int $itemId)
addCssFile(string $filePath)
displayErrorMessage(string $message)
displaySuccessMessage(string $message)
displayInfoMessage(string $message)
addOnLoadJavaScriptCode(string $a_code)
addPermaLinkTableView(int $refId, int $tableviewId)
setBackTab(string $label, string $link)
ilNavigationHistory $navigationHistory
Error Handling & global info handling uses PEAR error class.
setScreenIdComponent(string $a_comp)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Navigation History of Repository Items.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Class ChatMainBarProvider \MainMenu\Provider.