4use ILIAS\Modules\OrgUnit\ARHelper\DIC;
27 switch ($this->ctrl()->getCmdClass()) {
36 $cmd = $this->ctrl()->getCmd();
53 $observer = $this->dic()->backgroundTasks()->persistence()->loadBucket($observer_id);
55 $this->dic()->backgroundTasks()->taskManager()->continueTask($observer, $option);
56 $this->ctrl()->redirectToURL($from_url);
65 $bucket = $this->dic()->backgroundTasks()->persistence()->loadBucket($observer_id);
67 $this->dic()->backgroundTasks()->taskManager()->quitBucket($bucket);
69 $this->ctrl()->redirectToURL($from_url);
73 protected function getPopoverContent()
76 $gui = $this->dic()->backgroundTasks()->injector()->createInstance(ilBTPopOverGUI::class);
80 ->setParameterByClass(ilBTControllerGUI::class, self::REPLACE_SIGNAL, $signal_id);
82 $replace_url = $this->ctrl()
83 ->getLinkTargetByClass([ ilBTControllerGUI::class ], self::CMD_GET_POPOVER_CONTENT,
"",
true);
85 echo $this->ui()->renderer()->renderAsync($gui->getPopOverContent($this->user()
86 ->getId(), $this->getFromURL(), $replace_url));
95 $from_url =
self::unhash($this->
http()->request()->getQueryParams()[self::FROM_URL]);
108 return base64_encode(
$url);
119 return base64_decode(
$url);
An exception for terminatinating execution or to throw for unit testing.
const CMD_USER_INTERACTION
const CMD_GET_POPOVER_CONTENT
static http()
Fetches the global http state from ILIAS.