19 declare(strict_types=1);
39 $this->
ilCtrl = $DIC->ctrl();
40 $this->main_tpl = $DIC->ui()->mainTemplate();
49 $next_class = $this->
ilCtrl->getNextClass($this);
50 $class_file =
'../' . ltrim($this->
ilCtrl->lookupClassPath($next_class),
'./');
52 if (is_file($class_file)) {
54 $gui = $next_class::getInstance();
56 $this->
ilCtrl->forwardCommand($gui);
58 $this->main_tpl->setOnScreenMessage(
'failure',
'GUI-Class not found! (' . $next_class .
')');
ilGlobalTemplateInterface $main_tpl
Interface ilCtrlBaseClassInterface describes ilCtrl base classes.
executeCommand()
The only thing this execute Command does is forward the command in the command chain.
Service ilViewRouterGUI This service is used by LTI.