4include_once(
"./Services/Object/classes/class.ilObject2GUI.php");
5require_once(
'./Services/Repository/classes/class.ilObjectPlugin.php');
28 $next_class =
$ilCtrl->getNextClass();
29 $cmd_class =
$ilCtrl->getCmdClass();
31 if ($cmd_class !=
"ilobjplugindispatchgui" && $cmd_class !=
"")
33 $class_path =
$ilCtrl->lookupClassPath($next_class);
34 include_once($class_path);
35 $class_name =
$ilCtrl->getClassForClasspath($class_path);
37 $this->gui_obj =
new $class_name(
$_GET[
"ref_id"]);
38 $ilCtrl->forwardCommand($this->gui_obj);
69 include_once(
"./Services/Component/classes/class.ilPlugin.php");
73 $gui_cn =
"ilObj".$plugin->getPluginName().
"GUI";
74 $ilCtrl->setParameterByClass($gui_cn,
"ref_id",
$_GET[
"ref_id"]);
An exception for terminatinating execution or to throw for unit testing.
processCommand($a_cmd)
Process command.
forward()
Forward command to plugin.
__construct()
Constructor.
static getRepoPluginObjectByType($type)
Return either a repoObject plugin or a orgunit extension plugin or null if the type is not a plugin.
static _lookupType($a_id, $a_reference=false)
lookup object type