3declare(strict_types=1);
21require_once(
"libs/composer/vendor/autoload.php");
23require_once(__DIR__ .
"/Base.php");
49 $this->dic[
"tpl"] = $tpl_fac->getTemplate(
"tpl.main.html",
false,
false);
51 $data_factory =
new DataFactory();
52 $this->dic[
"refinery"] =
new RefinaryFactory($data_factory, $this->dic[
"lng"]);
62 if (!isset($this->dic)) {
65 return $this->dic->ui()->factory();
70 if (!isset($this->dic)) {
73 return $this->dic->ui()->renderer();
78 if (!isset($this->dic)) {
81 return $this->dic->ui()->mainTemplate();
Customizing of pimple-DIC for ILIAS.
Responsible for loading the UI Framework into the dependency injection container of ILIAS.
Class UITestHelper can be helpful for test cases outside the UI Components, to inject a working facto...
init(Container $dic=null)
This is how the factory for UI elements looks.
An entity that renders components to a string output.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...