18 use \ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\Hasher;
26 return $this->context_collection->
main();
34 if (!$this->showHelpTool()) {
37 $this->
globalScreen()->collector()->mainmenu()->collectOnce();
38 foreach ($this->
globalScreen()->collector()->mainmenu()->getRawItems() as $item) {
39 $p = $item->getProviderIdentification();
42 $tt_text = addslashes(str_replace(array(
"\n",
"\r"),
'', $tt_text));
46 $item->addSymbolDecorator(
static function (
Symbol $symbol) use ($tt_text) :
Symbol {
49 return "il.Tooltip.addToNearest('$id', 'button,a', { context:'', my:'bottom center', at:'top center', text:'$tt_text' });";
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
Class AbstractModificationProvider.
Interface hasSymbol Methods for Entries with Symbols.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static getMainMenuTooltip($a_item_id)
Get main menu tooltip.
withAdditionalOnLoadCode(\Closure $binder)
Add some onload-code to the component instead of replacing the existing one.
HTML export view layout provider, hides main and meta bar.
Interface ModificationProvider.
getMainBarModification(CalledContexts $called_contexts)
No main bar in HTML exports.