19declare(strict_types=1);
45 private \ILIAS\DI\Container
$DIC;
55 return $this->DIC->ui();
60 return $this->DIC->object();
65 return $this->DIC->ctrl();
70 return $this->DIC->http();
75 return new HTTPUtil($this->DIC->http());
85 return $this->DIC->ui()->mainTemplate();
91 $main_tpl->addJavaScript(
"assets/js/repository.js");
96 $this->
ui()->renderer()->renderAsync(
103 return $this->DIC->upload();
108 return $this->DIC->toolbar();
113 return $this->DIC->globalScreen();
118 return $this->DIC->help();
123 return $this->DIC->tabs();
128 return $this->DIC[
"ilLocator"];
133 return $this->DIC[
"ilNavigationHistory"];
142 string $submit_caption =
""
153 string $cancel_label =
""
165 public function send(
string $output): void
168 $http->saveResponse(
$http->response()->withBody(
171 $http->sendResponse();
182 bool $activated =
true,
183 bool $expanded =
true
207 bool $new_viewport =
false
228 public function profile(): ProfileGUI
230 return new ProfileGUI(
231 $this->DIC->repository()->internal()->domain()->profile(),
232 $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...
form( $class_path, string $cmd, string $submit_caption="")
filter(string $filter_id, $class_path, string $cmd, bool $activated=true, bool $expanded=true)
modal(string $title="", string $cancel_label="")
button(string $caption, string $cmd)
initGUIServices(\ILIAS\DI\Container $DIC)
link(string $caption, string $href, bool $new_viewport=false)
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.
catch(ilCmiXapiException $e) send($response)