ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
ScreenContextLegacyProxy.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\LTI\View;
22
29{
30 public function addAdditionalData(string $key, mixed $value): void
31 {
32 global $DIC;
33
34 $DIC->globalScreen()->tool()->context()->current()->addAdditionalData($key, $value);
35 }
36}
Delegates to the GlobalScreen of the legacy environment, which is not part of the bootstrap yet.
The screen context of the current request, which tells ilLTIViewLayoutProvider how to shape the page.
global $DIC
Definition: shib_login.php:26