19declare(strict_types=1);
44 private \ILIAS\DI\Container
$DIC;
54 return $this->DIC->ui();
59 return $this->DIC->object();
64 return $this->DIC->ctrl();
69 return $this->DIC->http();
74 return new HTTPUtil($this->DIC->http());
84 return $this->DIC->ui()->mainTemplate();
90 $main_tpl->addJavaScript(
"assets/js/repository.js");
95 $this->
ui()->renderer()->renderAsync(
102 return $this->DIC->upload();
107 return $this->DIC->toolbar();
112 return $this->DIC->globalScreen();
117 return $this->DIC->help();
122 return $this->DIC->tabs();
127 return $this->DIC[
"ilLocator"];
132 return $this->DIC[
"ilNavigationHistory"];
141 string $submit_caption =
""
152 string $cancel_label =
""
164 public function send(
string $output): void
167 $http->saveResponse(
$http->response()->withBody(
170 $http->sendResponse();
181 bool $activated =
true,
182 bool $expanded =
true
206 bool $new_viewport =
false
227 public function profile(): ProfileGUI
229 return new ProfileGUI(
230 $this->DIC->repository()->internal()->domain()->profile(),
231 $this->ui()->factory()
Customizing of pimple-DIC for ILIAS.
Provides fluid interface to RBAC services.
Stream factory which enables the user to create streams without the knowledge of the concrete class.
static ofString(string $string)
Creates a new stream with an initial value.
trait GlobalDICGUIServices
Class ilCtrl provides processing control methods.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Last visited history for repository items.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
return['delivery_method'=> 'php',]
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
@noinspection PhpIncompatibleReturnTypeInspection
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
modal(string $title="", string $cancel_label="")
button(string $caption, string $cmd)
form(?array $class_path, string $cmd, string $submit_caption="")
initGUIServices(\ILIAS\DI\Container $DIC)
link(string $caption, string $href, bool $new_viewport=false)
filter(string $filter_id, array $class_path, string $cmd, bool $activated=true, bool $expanded=true)
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.
catch(ilCmiXapiException $e) send($response)