35 $this->main_tpl = $DIC->ui()->mainTemplate();
36 $this->
ctrl = $DIC->ctrl();
41 $next_class = $this->
ctrl->getNextClass($this);
42 switch ($next_class) {
44 $class_file = $this->
ctrl->lookupClassPath($next_class);
45 if (is_file($class_file)) {
46 include_once($class_file);
47 $gui =
new $next_class();
48 $this->
ctrl->forwardCommand($gui);
50 $this->main_tpl->setOnScreenMessage(
'failure',
'Plugin GUI-Class not found! (' . $next_class .
')');
Interface ilCtrlBaseClassInterface describes ilCtrl base classes.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ilGlobalTemplateInterface $main_tpl