Service ilViewRouterGUI This service is used by LTI.
More...
Service ilViewRouterGUI This service is used by LTI.
It allows any plugin to get called by a http request without dependencies to a certain module or service other than this.
- Author
- Stefan Schneider schne.nosp@m.ider.nosp@m.@hrz..nosp@m.uni-.nosp@m.marbu.nosp@m.rg.d.nosp@m.e
- Version
- $Id:
Definition at line 31 of file class.ilLTIRouterGUI.php.
◆ __construct()
| ilLTIRouterGUI::__construct |
( |
| ) |
|
◆ executeCommand()
| ilLTIRouterGUI::executeCommand |
( |
| ) |
|
The only thing this execute Command does is forward the command in the command chain.
- Exceptions
-
Definition at line 47 of file class.ilLTIRouterGUI.php.
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 .
')');
◆ $ilCtrl
| ilCtrl ilLTIRouterGUI::$ilCtrl |
|
protected |
◆ $main_tpl
The documentation for this class was generated from the following file: