43 return $this->context_collection->
repository();
51 $additional_data = $screen_context_stack->
current()->getAdditionalData();
52 if ($additional_data->is(self::LM_HTML_EXPORT_RENDERING,
true)) {
59 })->withHighPriority();
69 $additional_data = $screen_context_stack->
current()->getAdditionalData();
70 if ($additional_data->is(self::LM_HTML_EXPORT_RENDERING,
true)) {
76 if ($current ===
null) {
81 $lng = $DIC->language();
82 $f = $DIC->ui()->factory();
85 $offline_main_bar = new \ILIAS\UI\Implementation\Component\MainControls\MainBar(
90 $offline_main_bar = $offline_main_bar->withToolsButton($tools_button);
94 $ids = $lm_tools->getOfflineToolIds();
97 foreach ($current->getToolEntries() as
$id => $te) {
98 if (in_array($id, $ids)) {
99 $offline_main_bar = $offline_main_bar->withAdditionalToolEntry(
106 return $offline_main_bar;
107 })->withHighPriority();
118 $additional_data = $screen_context_stack->
current()->getAdditionalData();
119 if ($additional_data->is(self::LM_HTML_EXPORT_RENDERING,
true)) {
126 })->withHighPriority();
LM HTML export view layout provider, hides main and meta bar.
This describes the MainBar.
getBreadCrumbsModification(CalledContexts $screen_context_stack)
No breadcrumbs in HTML exports.
const LM_HTML_EXPORT_RENDERING
Interface Observer Contains several chained tasks and infos about them.
getMetaBarModification(CalledContexts $screen_context_stack)
No meta bar in HTML exports.
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Class AbstractModificationProvider.
static getImagePath(string $image_name, string $module_path="", string $mode="output", bool $offline=false)
get image path (for images located in a template directory)
This describes the MetaBar.
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
getMainBarModification(CalledContexts $screen_context_stack)
No main bar in HTML exports.
Interface ModificationProvider.