27use ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\Hasher;
43 return $this->context_collection->
main();
54 $f =
$DIC->ui()->factory();
55 $ttm =
$DIC->help()->internal()->domain()->tooltips();
56 if (!$ttm->areTooltipsVisible()) {
61 $this->
globalScreen()->collector()->mainmenu()->collectOnce();
62 foreach ($this->
globalScreen()->collector()->mainmenu()->getRawItems() as $item) {
63 if (!($item instanceof
ILIAS\GlobalScreen\Scope\MainMenu\Factory\TopItem\TopParentItem)
64 && !($item instanceof
ILIAS\GlobalScreen\Scope\MainMenu\Factory\TopItem\TopLinkItem)
65 && !$ttm->areSubMenuTooltipsVisible()
70 $p = $item->getProviderIdentification();
72 $tt_text = $ttm->getMainMenuTooltip($p->getInternalIdentifier());
73 if ($tt_text !==
"") {
74 $item->withTopics(...
$DIC->ui()->factory()->helpTopics($tt_text));
86 $ttm =
$DIC->help()->internal()->domain()->tooltips();
88 if (!$this->showHelpTool() && !$ttm->isTooltipIdentifierVisible()) {
93 $this->
globalScreen()->collector()->metaBar()->collectOnce();
94 foreach ($this->
globalScreen()->collector()->metaBar()->getRawItems() as $item) {
96 $p = $item->getProviderIdentification();
98 $tt_text = $ttm->getMainMenuTooltip($p->getInternalIdentifier());
99 if ($tt_text !==
"") {
100 $item->withTopics(...
$DIC->ui()->factory()->helpTopics($tt_text));
Class AbstractModificationProvider.
HTML export view layout provider, hides main and meta bar.
getMainBarModification(CalledContexts $screen_context_stack)
No main bar in HTML exports.
getMetaBarModification(CalledContexts $screen_context_stack)
@inheritDoc
Interface ModificationProvider.
A component is the most general form of an entity in the UI.
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.