44 $this->lng =
$DIC->language();
45 $this->access =
$DIC->access();
46 $this->tpl =
$DIC[
"tpl"];
47 $this->nav_history =
$DIC[
"ilNavigationHistory"];
48 $ilCtrl =
$DIC->ctrl();
51 $this->ctrl = $ilCtrl;
67 $cmd = $this->ctrl->getCmd();
68 $next_class = $this->ctrl->getNextClass($this);
69 if ($next_class ==
"") {
70 $this->ctrl->setCmdClass(
"ilobjexercisegui");
71 $next_class = $this->ctrl->getNextClass($this);
75 if ($ilAccess->checkAccess(
"read",
"",
$_GET[
"ref_id"])) {
76 $ilNavigationHistory->addItem(
78 "ilias.php?baseClass=ilExerciseHandlerGUI&cmd=showOverview&ref_id=" .
$_GET[
"ref_id"],
83 switch ($next_class) {
84 case 'ilobjexercisegui':
86 $this->ctrl->forwardCommand($ex_gui);
90 $tpl->printToStdout();
An exception for terminatinating execution or to throw for unit testing.
Handles user interface for exercises.
executeCommand()
execute command