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());
Class ilCtrl provides processing control methods.
getNextClass($a_gui_class=null)
@inheritDoc
Dispatcher to all repository object plugins.
PluginSlotGUIRequest $request
processCommand(string $a_cmd)
forward()
Forward command to plugin.
static getPluginObjectByType(string $type)
Return either a repoObject plugin or a orgunit extension plugin or null if the type is not a plugin.
static _lookupType(int $id, bool $reference=false)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc