38 $this->request = $DIC->repository()
44 $this->
ctrl = $DIC->ctrl();
52 $cmd_class = strtolower($ilCtrl->getCmdClass());
53 if ($cmd_class !==
"ilobjplugindispatchgui" && $cmd_class !==
"" && $cmd_class !== null) {
54 $class_path = $ilCtrl->lookupClassPath($next_class);
59 $class_name = $ilCtrl->getClassForClasspath($class_path);
60 $this->gui_obj =
new $class_name($this->request->getRefId());
61 $ilCtrl->forwardCommand($this->gui_obj);
87 $gui_cn =
"ilObj" .
$plugin->getPluginName() .
"GUI";
88 $ilCtrl->setParameterByClass($gui_cn,
"ref_id", $this->request->getRefId());
89 $ilCtrl->redirectByClass($gui_cn, $this->request->getForwardCmd());
PluginSlotGUIRequest $request
processCommand(string $a_cmd)
Interface ilCtrlBaseClassInterface describes ilCtrl base classes.
Dispatcher to all repository object plugins.
getNextClass($a_gui_class=null)
forward()
Forward command to plugin.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static getPluginObjectByType(string $type)
Return either a repoObject plugin or a orgunit extension plugin or null if the type is not a plugin...
__construct(Container $dic, ilPlugin $plugin)
static _lookupType(int $id, bool $reference=false)