ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
CallbackHandler.php
Go to the documentation of this file.
2
3use ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\Hasher;
6
8{
9 use Hasher;
10
11 public function run()
12 {
14 global $DIC;
15 $DIC->ctrl()->setTargetScript("/ilias.php");
16 $GS = $DIC->globalScreen();
17 $GS->collector()->tool()->collectOnce();
18 $unhash = $this->unhash($_GET['item']);
19 $identification = $GS->identification()->fromSerializedIdentification($unhash);
20 $item = $GS->collector()->tool()->getSingleItem($identification);
24 $callback = $item->hasCloseCallback() ? $item->getCloseCallback() : static function () {
25 };
26 $callback();
27 }
28}
$_GET["client_id"]
An exception for terminatinating execution or to throw for unit testing.
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:18
static initILIAS()
ilias initialisation
Entry Point for Async calls from the Notification Center.
Definition: gs_content.php:1
$DIC
Definition: xapitoken.php:46