19 declare(strict_types=1);
    21 require_once(__DIR__ . 
'/../../../../vendor/composer/vendor/autoload.php');
    22 require_once(__DIR__ . 
'/Base.php');
    48         $this->dic[
"tpl"] = $tpl_fac->getTemplate(
"tpl.main.html", 
false, 
false);
    51         $this->dic[
"refinery"] = 
new RefinaryFactory($data_factory, $this->dic[
"lng"]);
    61         if (!isset($this->dic)) {
    64         return $this->dic->ui()->factory();
    69         if (!isset($this->dic)) {
    72         return $this->dic->ui()->renderer();
    77         if (!isset($this->dic)) {
    80         return $this->dic->ui()->mainTemplate();
 
Customizing of pimple-DIC for ILIAS. 
 
init(Container $dic=null)
 
Responsible for loading the UI Framework into the dependency injection container of ILIAS...
 
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...
 
Class UITestHelper can be helpful for test cases outside the UI Components, to inject a working facto...