19 declare(strict_types=1);
21 require_once(__DIR__ .
'/../../../../vendor/composer/vendor/autoload.php');
22 require_once(__DIR__ .
'/Base.php');
42 $this->dic_with_ui =
$dic;
48 $this->dic_with_ui[
"tpl"] = $tpl_fac->getTemplate(
"tpl.main.html",
false,
false);
51 $this->dic_with_ui[
"refinery"] =
new RefinaryFactory($data_factory, $this->dic_with_ui[
"lng"]);
58 return $this->dic_with_ui;
63 if (!isset($this->dic_with_ui)) {
66 return $this->dic_with_ui->ui()->factory();
71 if (!isset($this->dic_with_ui)) {
74 return $this->dic_with_ui->ui()->renderer();
79 if (!isset($this->dic_with_ui)) {
82 return $this->dic_with_ui->ui()->mainTemplate();
Customizing of pimple-DIC for ILIAS.
This is more or less a copy of the removed InitUIFramework file inside the Init component.
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
This is how the factory for UI elements looks.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
init(?Container $dic=null)