4 include_once(
"./Services/Object/classes/class.ilObject2GUI.php");
5 require_once(
'./Services/Repository/classes/class.ilObjectPlugin.php');
29 $this->ctrl = $DIC->ctrl();
36 $next_class =
$ilCtrl->getNextClass();
37 $cmd_class =
$ilCtrl->getCmdClass();
39 if ($cmd_class !=
"ilobjplugindispatchgui" && $cmd_class !=
"") {
40 $class_path =
$ilCtrl->lookupClassPath($next_class);
41 include_once($class_path);
42 $class_name =
$ilCtrl->getClassForClasspath($class_path);
44 $this->gui_obj =
new $class_name(
$_GET[
"ref_id"]);
45 $ilCtrl->forwardCommand($this->gui_obj);
72 include_once(
"./Services/Component/classes/class.ilPlugin.php");
75 $gui_cn =
"ilObj" . $plugin->getPluginName() .
"GUI";
76 $ilCtrl->setParameterByClass($gui_cn,
"ref_id",
$_GET[
"ref_id"]);
__construct()
Constructor.
static getPluginObjectByType($type)
Return either a repoObject plugin or a orgunit extension plugin or null if the type is not a plugin...
forward()
Forward command to plugin.
static _lookupType($a_id, $a_reference=false)
lookup object type
processCommand($a_cmd)
Process command.