4 include_once(
"./Services/Object/classes/class.ilObject2GUI.php");
27 $next_class = $ilCtrl->getNextClass();
28 $cmd_class = $ilCtrl->getCmdClass();
30 if ($cmd_class !=
"ilobjplugindispatchgui" && $cmd_class !=
"")
32 $class_path = $ilCtrl->lookupClassPath($next_class);
33 include_once($class_path);
34 $class_name = $ilCtrl->getClassForClasspath($class_path);
36 $this->gui_obj =
new $class_name(
$_GET[
"ref_id"]);
37 $ilCtrl->forwardCommand($this->gui_obj);
68 include_once(
"./Services/Component/classes/class.ilPlugin.php");
72 $gui_cn =
"ilObj".$pl_name.
"GUI";
73 $ilCtrl->setParameterByClass($gui_cn,
"ref_id",
$_GET[
"ref_id"]);
74 $ilCtrl->redirectByClass($gui_cn,
$_GET[
"forwardCmd"]);
__construct()
Constructor.
lookupNameForId($a_ctype, $a_cname, $a_slot_id, $a_plugin_id)
Lookup name for id.
forward()
Forward command to plugin.
static _lookupType($a_id, $a_reference=false)
lookup object type
processCommand($a_cmd)
Process command.