19declare(strict_types=1);
22use ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\Hasher;
25use ILIAS\HTTP\Wrapper\WrapperFactory;
57 $this->ctrl =
$DIC->ctrl();
58 $this->wrapper =
$DIC->http()->wrapper();
59 $this->refinery =
$DIC->refinery();
60 $this->global_screen =
$DIC->globalScreen();
63 public function run() : void
65 $this->ctrl->setTargetScript(self::TARGET_SCRIPT);
67 $this->global_screen->collector()
71 $item = $this->global_screen->collector()
85 :
static function () :
void {
91 $hashed = $this->wrapper->query()->has(self::KEY_ITEM)
92 ? $this->wrapper->query()->retrieve(self::KEY_ITEM, $this->refinery->to()->string())
95 $unhashed = $this->unhash($hashed);
97 return $this->global_screen->identification()->fromSerializedIdentification($unhashed);
An exception for terminatinating execution or to throw for unit testing.
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...