95 : void
96 {
98
100 $cmd = $ilCtrl->getCmd("listPublicSubmissions");
101
102 switch ($class) {
103 case "ilexsubmissionteamgui":
104
105
106 $this->tabs_gui->clearTargets();
107 $this->tabs_gui->setBackTarget(
108 $this->
lng->txt(
"back"),
109 $this->ctrl->getLinkTarget($this, "returnToParent")
110 );
111
112
114 $this->tabs_gui->addTab(
115 "submission",
116 $this->
lng->txt(
"exc_submission"),
117 $this->ctrl->getLinkTargetByClass("ilexsubmission" . $this->submission->getSubmissionType() . "gui", "")
118 );
119 }
120
122 $ilCtrl->forwardCommand($gui);
123 break;
124
125 case "ilexsubmissiontextgui":
127 $ilCtrl->forwardCommand($gui);
128 break;
129
130 case "ilexsubmissionfilegui":
132 $ilCtrl->forwardCommand($gui);
133 break;
134
135 case "ilexsubmissionobjectgui":
137 $ilCtrl->forwardCommand($gui);
138 break;
139
140 case "ilexpeerreviewgui":
141 $this->tabs_gui->clearTargets();
142 $this->tabs_gui->setBackTarget(
143 $this->
lng->txt(
"back"),
144 $this->ctrl->getLinkTarget($this, "returnToParent")
145 );
146
148 $this->
ctrl->forwardCommand($peer_gui);
149 break;
150
151 default:
152
153
154
155 if ($this->type_guis->isExAssTypeGUIClass($class)) {
156 $type_gui = $this->type_guis->getByClassName($class);
157 $type_gui->setSubmission($this->submission);
158 $type_gui->setExercise($this->exercise);
159 $ilCtrl->forwardCommand($type_gui);
160 }
161
162 $this->{$cmd . "Object"}();
163 break;
164 }
165 }
getNextClass($a_gui_class=null)
@inheritDoc
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Object-based submissions (ends up as static file)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...