3declare(strict_types=1);
22use ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\Hasher;
38 protected \ilCtrlInterface
$ctrl;
45 $this->
ctrl = $DIC->ctrl();
46 $this->wrapper =
$DIC->http()->wrapper();
48 $this->global_screen =
$DIC->globalScreen();
51 public function run(): void
53 $this->
ctrl->setTargetScript(self::TARGET_SCRIPT);
55 $this->global_screen->collector()
59 $item = $this->global_screen->collector()
73 :
static function ():
void {
79 $hashed = $this->wrapper->query()->has(self::KEY_ITEM)
80 ? $this->wrapper->query()->retrieve(self::KEY_ITEM, $this->
refinery->to()->string())
83 $unhashed = $this->unhash($hashed);
85 return $this->global_screen->identification()->fromSerializedIdentification($unhashed);
ILIAS GlobalScreen Services $global_screen
resolveCallback(isToolItem $item)
ILIAS Initialisation Utility Class perform basic setup: init database handler, load configuration fil...
static initILIAS()
ilias initialisation
Interface IdentificationInterface.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...