ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
ilAssQuestionPreviewGUI Class Reference
+ Collaboration diagram for ilAssQuestionPreviewGUI:

Public Member Functions

 __construct (ilCtrl $ctrl, ilTabsGUI $tabs, ilTemplate $tpl, ilLanguage $lng, ilDB $db, ilObjUser $user)
 
 initQuestion ($questionId, $parentObjId)
 
 initPreviewSettings ($parentRefId)
 
 initPreviewSession ($userId, $questionId)
 
 initHintTracking ()
 
 initStyleSheets ()
 
 executeCommand ()
 
 saveQuestionSolution ()
 
 gatewayConfirmHintRequestCmd ()
 
 gatewayShowHintListCmd ()
 

Data Fields

const CMD_SHOW = 'show'
 
const CMD_RESET = 'reset'
 
const CMD_INSTANT_RESPONSE = 'instantResponse'
 
const CMD_HANDLE_QUESTION_ACTION = 'handleQuestionAction'
 
const CMD_GATEWAY_CONFIRM_HINT_REQUEST = 'gatewayConfirmHintRequest'
 
const CMD_GATEWAY_SHOW_HINT_LIST = 'gatewayShowHintList'
 
const TAB_ID_QUESTION_PREVIEW = 'preview'
 

Protected Attributes

 $ctrl
 
 $tabs
 
 $tpl
 
 $lng
 
 $db
 
 $user
 
 $questionGUI
 
 $questionOBJ
 
 $previewSettings
 
 $previewSession
 
 $hintTracking
 

Private Member Functions

 showCmd ()
 
 resetCmd ()
 
 instantResponseCmd ()
 
 handleQuestionActionCmd ()
 
 populatePreviewToolbar (ilTemplate $tpl)
 
 populateQuestionOutput (ilTemplate $tpl)
 
 populateSolutionOutput (ilTemplate $tpl)
 
 populateQuestionNavigation (ilTemplate $tpl)
 
 populateGenericQuestionFeedback (ilTemplate $tpl)
 
 populateSpecificQuestionFeedback (ilTemplate $tpl)
 
 isShowBestSolutionRequired ()
 
 isShowGenericQuestionFeedbackRequired ()
 
 isShowSpecificQuestionFeedbackRequired ()
 
 getQuestionAnswerShuffler ()
 

Detailed Description

Definition at line 18 of file class.ilAssQuestionPreviewGUI.php.

Constructor & Destructor Documentation

◆ __construct()

ilAssQuestionPreviewGUI::__construct ( ilCtrl  $ctrl,
ilTabsGUI  $tabs,
ilTemplate  $tpl,
ilLanguage  $lng,
ilDB  $db,
ilObjUser  $user 
)

Member Function Documentation

◆ executeCommand()

ilAssQuestionPreviewGUI::executeCommand ( )

Definition at line 147 of file class.ilAssQuestionPreviewGUI.php.

148 {
149 $this->tabs->setTabActive(self::TAB_ID_QUESTION_PREVIEW);
150
151 $this->lng->loadLanguageModule('content');
152
153 $nextClass = $this->ctrl->getNextClass($this);
154
155 switch($nextClass)
156 {
157 case 'ilassquestionhintrequestgui':
158
159 require_once 'Modules/TestQuestionPool/classes/class.ilAssQuestionHintRequestGUI.php';
160 $gui = new ilAssQuestionHintRequestGUI($this, self::CMD_SHOW, $this->questionGUI, $this->hintTracking);
161
162 $this->ctrl->forwardCommand($gui);
163
164 break;
165
166 case 'ilassspecfeedbackpagegui':
167 case 'ilassgenfeedbackpagegui':
168 require_once 'Modules/TestQuestionPool/classes/class.ilAssQuestionFeedbackPageObjectCommandForwarder.php';
169 $forwarder = new ilAssQuestionFeedbackPageObjectCommandForwarder($this->questionOBJ, $this->ctrl, $this->tabs, $this->lng);
170 $forwarder->forward();
171 break;
172
173 default:
174
175 $cmd = $this->ctrl->getCmd(self::CMD_SHOW).'Cmd';
176
177 $this->$cmd();
178 }
179 }
$cmd
Definition: sahs_server.php:35

References $cmd.

◆ gatewayConfirmHintRequestCmd()

ilAssQuestionPreviewGUI::gatewayConfirmHintRequestCmd ( )

Definition at line 403 of file class.ilAssQuestionPreviewGUI.php.

404 {
405 $this->saveQuestionSolution();
406
407 require_once 'Modules/TestQuestionPool/classes/class.ilAssQuestionHintRequestGUI.php';
408
409 $this->ctrl->redirectByClass(
410 'ilAssQuestionHintRequestGUI', ilAssQuestionHintRequestGUI::CMD_CONFIRM_REQUEST
411 );
412 }

References ilAssQuestionHintRequestGUI\CMD_CONFIRM_REQUEST, and saveQuestionSolution().

+ Here is the call graph for this function:

◆ gatewayShowHintListCmd()

ilAssQuestionPreviewGUI::gatewayShowHintListCmd ( )

Definition at line 414 of file class.ilAssQuestionPreviewGUI.php.

415 {
416 $this->saveQuestionSolution();
417
418 require_once 'Modules/TestQuestionPool/classes/class.ilAssQuestionHintRequestGUI.php';
419
420 $this->ctrl->redirectByClass(
421 'ilAssQuestionHintRequestGUI', ilAssQuestionHintRequestGUI::CMD_SHOW_LIST
422 );
423 }

References ilAssQuestionHintRequestGUI\CMD_SHOW_LIST, and saveQuestionSolution().

+ Here is the call graph for this function:

◆ getQuestionAnswerShuffler()

ilAssQuestionPreviewGUI::getQuestionAnswerShuffler ( )
private
Returns
ilArrayElementShuffler

Definition at line 428 of file class.ilAssQuestionPreviewGUI.php.

429 {
430 require_once 'Services/Randomization/classes/class.ilArrayElementShuffler.php';
431 $shuffler = new ilArrayElementShuffler();
432
433 if( !$this->previewSession->randomizerSeedExists() )
434 {
435 $this->previewSession->setRandomizerSeed($shuffler->buildRandomSeed());
436 }
437
438 $shuffler->setSeed($this->previewSession->getRandomizerSeed());
439
440 return $shuffler;
441 }

Referenced by populateQuestionOutput().

+ Here is the caller graph for this function:

◆ handleQuestionActionCmd()

ilAssQuestionPreviewGUI::handleQuestionActionCmd ( )
private

Definition at line 230 of file class.ilAssQuestionPreviewGUI.php.

231 {
232 $this->questionOBJ->persistPreviewState($this->previewSession);
233 $this->ctrl->redirect($this, self::CMD_SHOW);
234 }

◆ initHintTracking()

ilAssQuestionPreviewGUI::initHintTracking ( )

Definition at line 128 of file class.ilAssQuestionPreviewGUI.php.

129 {
130 require_once 'Modules/TestQuestionPool/classes/class.ilAssQuestionPreviewHintTracking.php';
131 $this->hintTracking = new ilAssQuestionPreviewHintTracking($this->db, $this->previewSession);
132 }

◆ initPreviewSession()

ilAssQuestionPreviewGUI::initPreviewSession (   $userId,
  $questionId 
)

Definition at line 120 of file class.ilAssQuestionPreviewGUI.php.

121 {
122 require_once 'Modules/TestQuestionPool/classes/class.ilAssQuestionPreviewSession.php';
123 $this->previewSession = new ilAssQuestionPreviewSession($userId, $questionId);
124
125 $this->previewSession->init();
126 }

◆ initPreviewSettings()

ilAssQuestionPreviewGUI::initPreviewSettings (   $parentRefId)

Definition at line 112 of file class.ilAssQuestionPreviewGUI.php.

113 {
114 require_once 'Modules/TestQuestionPool/classes/class.ilAssQuestionPreviewSettings.php';
115 $this->previewSettings = new ilAssQuestionPreviewSettings($parentRefId);
116
117 $this->previewSettings->init();
118 }

◆ initQuestion()

ilAssQuestionPreviewGUI::initQuestion (   $questionId,
  $parentObjId 
)

Definition at line 94 of file class.ilAssQuestionPreviewGUI.php.

95 {
96 require_once 'Modules/TestQuestionPool/classes/class.assQuestion.php';
97
98 $this->questionGUI = assQuestion::instantiateQuestionGUI($questionId);
99 $this->questionOBJ = $this->questionGUI->object;
100
101 $this->questionOBJ->setObjId($parentObjId);
102
103 $this->questionGUI->setQuestionTabs();
104 $this->questionGUI->outAdditionalOutput();
105
106 $this->questionOBJ->setOutputType(OUTPUT_JAVASCRIPT);
107
108 $this->questionGUI->setTargetGui($this);
109 $this->questionGUI->setQuestionActionCmd(self::CMD_HANDLE_QUESTION_ACTION);
110 }
static instantiateQuestionGUI($a_question_id)
Creates an instance of a question gui with a given question id.
const OUTPUT_JAVASCRIPT

References assQuestion\instantiateQuestionGUI(), and OUTPUT_JAVASCRIPT.

+ Here is the call graph for this function:

◆ initStyleSheets()

ilAssQuestionPreviewGUI::initStyleSheets ( )

Definition at line 134 of file class.ilAssQuestionPreviewGUI.php.

135 {
136 include_once("./Services/Style/classes/class.ilObjStyleSheet.php");
137
138 $this->tpl->setCurrentBlock("ContentStyle");
139 $this->tpl->setVariable("LOCATION_CONTENT_STYLESHEET", ilObjStyleSheet::getContentStylePath(0));
140 $this->tpl->parseCurrentBlock();
141
142 $this->tpl->setCurrentBlock("SyntaxStyle");
143 $this->tpl->setVariable("LOCATION_SYNTAX_STYLESHEET", ilObjStyleSheet::getSyntaxStylePath());
144 $this->tpl->parseCurrentBlock();
145 }
getContentStylePath($a_style_id)
get content style path
getSyntaxStylePath()
get syntax style path

References ilObjStyleSheet\getContentStylePath(), and ilObjStyleSheet\getSyntaxStylePath().

+ Here is the call graph for this function:

◆ instantResponseCmd()

ilAssQuestionPreviewGUI::instantResponseCmd ( )
private

Definition at line 223 of file class.ilAssQuestionPreviewGUI.php.

224 {
225 $this->questionOBJ->persistPreviewState($this->previewSession);
226 $this->previewSession->setInstantResponseActive(true);
227 $this->ctrl->redirect($this, self::CMD_SHOW);
228 }

◆ isShowBestSolutionRequired()

ilAssQuestionPreviewGUI::isShowBestSolutionRequired ( )
private

Definition at line 368 of file class.ilAssQuestionPreviewGUI.php.

369 {
370 if( !$this->previewSettings->isBestSolutionEnabled() )
371 {
372 return false;
373 }
374
375 return $this->previewSession->isInstantResponseActive();
376 }

Referenced by showCmd().

+ Here is the caller graph for this function:

◆ isShowGenericQuestionFeedbackRequired()

ilAssQuestionPreviewGUI::isShowGenericQuestionFeedbackRequired ( )
private

Definition at line 378 of file class.ilAssQuestionPreviewGUI.php.

379 {
380 if( !$this->previewSettings->isGenericFeedbackEnabled() )
381 {
382 return false;
383 }
384
385 return $this->previewSession->isInstantResponseActive();
386 }

Referenced by showCmd().

+ Here is the caller graph for this function:

◆ isShowSpecificQuestionFeedbackRequired()

ilAssQuestionPreviewGUI::isShowSpecificQuestionFeedbackRequired ( )
private

Definition at line 388 of file class.ilAssQuestionPreviewGUI.php.

389 {
390 if( !$this->previewSettings->isSpecificFeedbackEnabled() )
391 {
392 return false;
393 }
394
395 return $this->previewSession->isInstantResponseActive();
396 }

Referenced by populateQuestionOutput(), and showCmd().

+ Here is the caller graph for this function:

◆ populateGenericQuestionFeedback()

ilAssQuestionPreviewGUI::populateGenericQuestionFeedback ( ilTemplate  $tpl)
private

Definition at line 339 of file class.ilAssQuestionPreviewGUI.php.

340 {
341 if( $this->questionOBJ->isPreviewSolutionCorrect($this->previewSession) )
342 {
343 $feedback = $this->questionGUI->getGenericFeedbackOutputForCorrectSolution();
345 }
346 else
347 {
348 $feedback = $this->questionGUI->getGenericFeedbackOutputForIncorrectSolution();
350 }
351
352 if( strlen($feedback) )
353 {
354 $tpl->setCurrentBlock('instant_feedback_generic');
355 $tpl->setVariable('GENERIC_FEEDBACK', $feedback);
356 $tpl->setVariable('ILC_FB_CSS_CLASS', $cssClass);
357 $tpl->parseCurrentBlock();
358 }
359 }

References $tpl, ilAssQuestionFeedback\CSS_CLASS_FEEDBACK_CORRECT, and ilAssQuestionFeedback\CSS_CLASS_FEEDBACK_WRONG.

Referenced by showCmd().

+ Here is the caller graph for this function:

◆ populatePreviewToolbar()

ilAssQuestionPreviewGUI::populatePreviewToolbar ( ilTemplate  $tpl)
private

Definition at line 236 of file class.ilAssQuestionPreviewGUI.php.

237 {
238 require_once 'Modules/TestQuestionPool/classes/class.ilAssQuestionPreviewToolbarGUI.php';
239 $toolbarGUI = new ilAssQuestionPreviewToolbarGUI($this->lng);
240
241 $toolbarGUI->setFormAction($this->ctrl->getFormAction($this, self::CMD_SHOW));
242 $toolbarGUI->setResetPreviewCmd(self::CMD_RESET);
243
244 $toolbarGUI->build();
245
246 $tpl->setVariable('PREVIEW_TOOLBAR', $this->ctrl->getHTML($toolbarGUI));
247 }

References $tpl.

Referenced by showCmd().

+ Here is the caller graph for this function:

◆ populateQuestionNavigation()

ilAssQuestionPreviewGUI::populateQuestionNavigation ( ilTemplate  $tpl)
private

Definition at line 321 of file class.ilAssQuestionPreviewGUI.php.

322 {
323 require_once 'Modules/TestQuestionPool/classes/class.ilAssQuestionRelatedNavigationBarGUI.php';
324 $navGUI = new ilAssQuestionRelatedNavigationBarGUI($this->ctrl, $this->lng);
325
326 $navGUI->setInstantResponseCmd(self::CMD_INSTANT_RESPONSE);
327 $navGUI->setHintRequestCmd(self::CMD_GATEWAY_CONFIRM_HINT_REQUEST);
328 $navGUI->setHintListCmd(self::CMD_GATEWAY_SHOW_HINT_LIST);
329
330 $navGUI->setInstantResponseEnabled($this->previewSettings->isInstantFeedbackNavigationRequired());
331 $navGUI->setHintProvidingEnabled($this->previewSettings->isHintProvidingEnabled());
332
333 $navGUI->setHintRequestsPossible($this->hintTracking->requestsPossible());
334 $navGUI->setHintRequestsExist($this->hintTracking->requestsExist());
335
336 $tpl->setVariable('QUESTION_NAVIGATION', $this->ctrl->getHTML($navGUI));
337 }

References $tpl.

Referenced by showCmd().

+ Here is the caller graph for this function:

◆ populateQuestionOutput()

ilAssQuestionPreviewGUI::populateQuestionOutput ( ilTemplate  $tpl)
private

Definition at line 249 of file class.ilAssQuestionPreviewGUI.php.

250 {
251 // FOR WHAT EXACTLY IS THIS USEFUL?
252 $this->ctrl->setReturnByClass('ilAssQuestionPageGUI', 'view');
253 $this->ctrl->setReturnByClass('ilObjQuestionPoolGUI', 'questions');
254
255 include_once("./Modules/TestQuestionPool/classes/class.ilAssQuestionPageGUI.php");
256 $pageGUI = new ilAssQuestionPageGUI($this->questionOBJ->getId());
257 $pageGUI->setRenderPageContainer(false);
258 $pageGUI->setEditPreview(true);
259 $pageGUI->setEnabledTabs(false);
260
261 // FOR WHICH SITUATION IS THIS WORKAROUND NECCESSARY? (sure .. imagemaps, but where this can be done?)
262 if (strlen($this->ctrl->getCmd()) == 0 && !isset($_POST['editImagemapForward_x'])) // workaround for page edit imagemaps, keep in mind
263 {
264 $this->ctrl->setCmdClass(get_class($pageGUI));
265 $this->ctrl->setCmd('preview');
266 }
267
268 $this->questionGUI->setPreviewSession($this->previewSession);
269 $this->questionGUI->object->setShuffler($this->getQuestionAnswerShuffler());
270
271 $questionHtml = $this->questionGUI->getPreview(true, $this->isShowSpecificQuestionFeedbackRequired());
272 $this->questionGUI->magicAfterTestOutput();
273
274 $pageGUI->setQuestionHTML(array($this->questionOBJ->getId() => $questionHtml));
275
276 //$pageGUI->setHeader($this->questionOBJ->getTitle()); // NO ADDITIONAL HEADER
277 $pageGUI->setPresentationTitle($this->questionOBJ->getTitle());
278
279 //$pageGUI->setTemplateTargetVar("ADM_CONTENT"); // NOT REQUIRED, OR IS?
280
281 $tpl->setVariable('QUESTION_OUTPUT', $pageGUI->preview());
282 }
Question page GUI class.
$_POST['username']
Definition: cron.php:12

References $_POST, $tpl, getQuestionAnswerShuffler(), and isShowSpecificQuestionFeedbackRequired().

Referenced by showCmd().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ populateSolutionOutput()

ilAssQuestionPreviewGUI::populateSolutionOutput ( ilTemplate  $tpl)
private

Definition at line 284 of file class.ilAssQuestionPreviewGUI.php.

285 {
286 // FOR WHAT EXACTLY IS THIS USEFUL?
287 $this->ctrl->setReturnByClass('ilAssQuestionPageGUI', 'view');
288 $this->ctrl->setReturnByClass('ilObjQuestionPoolGUI', 'questions');
289
290 include_once("./Modules/TestQuestionPool/classes/class.ilAssQuestionPageGUI.php");
291 $pageGUI = new ilAssQuestionPageGUI($this->questionOBJ->getId());
292
293 $pageGUI->setEditPreview(true);
294 $pageGUI->setEnabledTabs(false);
295
296 // FOR WHICH SITUATION IS THIS WORKAROUND NECCESSARY? (sure .. imagemaps, but where this can be done?)
297 if (strlen($this->ctrl->getCmd()) == 0 && !isset($_POST['editImagemapForward_x'])) // workaround for page edit imagemaps, keep in mind
298 {
299 $this->ctrl->setCmdClass(get_class($pageGUI));
300 $this->ctrl->setCmd('preview');
301 }
302
303 $this->questionGUI->setPreviewSession($this->previewSession);
304
305 $pageGUI->setQuestionHTML(array($this->questionOBJ->getId() => $this->questionGUI->getSolutionOutput(
306 0, null, false, false, true, false,
307 true, false, false
308 )));
309
310 //$pageGUI->setHeader($this->questionOBJ->getTitle()); // NO ADDITIONAL HEADER
311 //$pageGUI->setPresentationTitle($this->questionOBJ->getTitle());
312
313 //$pageGUI->setTemplateTargetVar("ADM_CONTENT"); // NOT REQUIRED, OR IS?
314
315 $tpl->setCurrentBlock('solution_output');
316 $tpl->setVariable('TXT_CORRECT_SOLUTION', $this->lng->txt('tst_best_solution_is'));
317 $tpl->setVariable('SOLUTION_OUTPUT', $pageGUI->preview());
318 $tpl->parseCurrentBlock();
319 }

References $_POST, and $tpl.

Referenced by showCmd().

+ Here is the caller graph for this function:

◆ populateSpecificQuestionFeedback()

ilAssQuestionPreviewGUI::populateSpecificQuestionFeedback ( ilTemplate  $tpl)
private

Definition at line 361 of file class.ilAssQuestionPreviewGUI.php.

362 {
363 $tpl->setCurrentBlock('instant_feedback_specific');
364 $tpl->setVariable('ANSWER_FEEDBACK', $this->questionGUI->getSpecificFeedbackOutput(0, -1));
365 $tpl->parseCurrentBlock();
366 }

References $tpl.

Referenced by showCmd().

+ Here is the caller graph for this function:

◆ resetCmd()

ilAssQuestionPreviewGUI::resetCmd ( )
private

Definition at line 211 of file class.ilAssQuestionPreviewGUI.php.

212 {
213 $this->previewSession->setRandomizerSeed(null);
214 $this->previewSession->setParticipantsSolution(null);
215 $this->previewSession->resetRequestedHints();
216 $this->previewSession->setInstantResponseActive(false);
217
218 ilUtil::sendInfo($this->lng->txt('qst_preview_reset_msg'), true);
219
220 $this->ctrl->redirect($this, self::CMD_SHOW);
221 }
static sendInfo($a_info="", $a_keep=false)
Send Info Message to Screen.

References ilUtil\sendInfo().

+ Here is the call graph for this function:

◆ saveQuestionSolution()

ilAssQuestionPreviewGUI::saveQuestionSolution ( )

Definition at line 398 of file class.ilAssQuestionPreviewGUI.php.

399 {
400 $this->questionOBJ->persistPreviewState($this->previewSession);
401 }

Referenced by gatewayConfirmHintRequestCmd(), and gatewayShowHintListCmd().

+ Here is the caller graph for this function:

◆ showCmd()

ilAssQuestionPreviewGUI::showCmd ( )
private

Definition at line 181 of file class.ilAssQuestionPreviewGUI.php.

182 {
183 $tpl = new ilTemplate('tpl.qpl_question_preview.html', true, true, 'Modules/TestQuestionPool');
184
185 $tpl->setVariable('PREVIEW_FORMACTION', $this->ctrl->getFormAction($this, self::CMD_SHOW));
186
188
190
192
194 {
196 }
197
199 {
201 }
202
203 if( $this->isShowBestSolutionRequired() )
204 {
206 }
207
208 $this->tpl->setContent($tpl->get());
209 }
special template class to simplify handling of ITX/PEAR

References $tpl, isShowBestSolutionRequired(), isShowGenericQuestionFeedbackRequired(), isShowSpecificQuestionFeedbackRequired(), populateGenericQuestionFeedback(), populatePreviewToolbar(), populateQuestionNavigation(), populateQuestionOutput(), populateSolutionOutput(), and populateSpecificQuestionFeedback().

+ Here is the call graph for this function:

Field Documentation

◆ $ctrl

ilAssQuestionPreviewGUI::$ctrl
protected

Definition at line 32 of file class.ilAssQuestionPreviewGUI.php.

Referenced by __construct().

◆ $db

ilAssQuestionPreviewGUI::$db
protected

Definition at line 52 of file class.ilAssQuestionPreviewGUI.php.

Referenced by __construct().

◆ $hintTracking

ilAssQuestionPreviewGUI::$hintTracking
protected

Definition at line 82 of file class.ilAssQuestionPreviewGUI.php.

◆ $lng

ilAssQuestionPreviewGUI::$lng
protected

Definition at line 47 of file class.ilAssQuestionPreviewGUI.php.

Referenced by __construct().

◆ $previewSession

ilAssQuestionPreviewGUI::$previewSession
protected

Definition at line 77 of file class.ilAssQuestionPreviewGUI.php.

◆ $previewSettings

ilAssQuestionPreviewGUI::$previewSettings
protected

Definition at line 72 of file class.ilAssQuestionPreviewGUI.php.

◆ $questionGUI

ilAssQuestionPreviewGUI::$questionGUI
protected

Definition at line 62 of file class.ilAssQuestionPreviewGUI.php.

◆ $questionOBJ

ilAssQuestionPreviewGUI::$questionOBJ
protected

Definition at line 67 of file class.ilAssQuestionPreviewGUI.php.

◆ $tabs

ilAssQuestionPreviewGUI::$tabs
protected

Definition at line 37 of file class.ilAssQuestionPreviewGUI.php.

Referenced by __construct().

◆ $tpl

◆ $user

ilAssQuestionPreviewGUI::$user
protected

Definition at line 57 of file class.ilAssQuestionPreviewGUI.php.

Referenced by __construct().

◆ CMD_GATEWAY_CONFIRM_HINT_REQUEST

const ilAssQuestionPreviewGUI::CMD_GATEWAY_CONFIRM_HINT_REQUEST = 'gatewayConfirmHintRequest'

Definition at line 24 of file class.ilAssQuestionPreviewGUI.php.

◆ CMD_GATEWAY_SHOW_HINT_LIST

const ilAssQuestionPreviewGUI::CMD_GATEWAY_SHOW_HINT_LIST = 'gatewayShowHintList'

Definition at line 25 of file class.ilAssQuestionPreviewGUI.php.

◆ CMD_HANDLE_QUESTION_ACTION

const ilAssQuestionPreviewGUI::CMD_HANDLE_QUESTION_ACTION = 'handleQuestionAction'

Definition at line 23 of file class.ilAssQuestionPreviewGUI.php.

◆ CMD_INSTANT_RESPONSE

const ilAssQuestionPreviewGUI::CMD_INSTANT_RESPONSE = 'instantResponse'

Definition at line 22 of file class.ilAssQuestionPreviewGUI.php.

◆ CMD_RESET

const ilAssQuestionPreviewGUI::CMD_RESET = 'reset'

Definition at line 21 of file class.ilAssQuestionPreviewGUI.php.

◆ CMD_SHOW

const ilAssQuestionPreviewGUI::CMD_SHOW = 'show'

◆ TAB_ID_QUESTION_PREVIEW

const ilAssQuestionPreviewGUI::TAB_ID_QUESTION_PREVIEW = 'preview'

The documentation for this class was generated from the following file: