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

Public Member Functions

 __construct (ilCtrl $ctrl, ilAccessHandler $access, ilTabsGUI $tabs, ilLanguage $lng, ilTemplate $tpl, ilDB $db, ilTree $tree, ilPluginAdmin $pluginAdmin, ilObjTest $testOBJ)
 
 executeCommand ()
 

Data Fields

const CMD_SHOW_GENERAL_CONFIG_FORM = 'showGeneralConfigForm'
 
const CMD_SAVE_GENERAL_CONFIG_FORM = 'saveGeneralConfigForm'
 
const CMD_SHOW_SRC_POOL_DEF_LIST = 'showSourcePoolDefinitionList'
 
const CMD_SAVE_SRC_POOL_DEF_LIST = 'saveSourcePoolDefinitionList'
 
const CMD_DELETE_SINGLE_SRC_POOL_DEF = 'deleteSingleSourcePoolDefinition'
 
const CMD_DELETE_MULTI_SRC_POOL_DEFS = 'deleteMultipleSourcePoolDefinitions'
 
const CMD_SHOW_CREATE_SRC_POOL_DEF_FORM = 'showCreateSourcePoolDefinitionForm'
 
const CMD_SAVE_CREATE_SRC_POOL_DEF_FORM = 'saveCreateSourcePoolDefinitionForm'
 
const CMD_SAVE_AND_NEW_CREATE_SRC_POOL_DEF_FORM = 'saveCreateAndNewSourcePoolDefinitionForm'
 
const CMD_SHOW_EDIT_SRC_POOL_DEF_FORM = 'showEditSourcePoolDefinitionForm'
 
const CMD_SAVE_EDIT_SRC_POOL_DEF_FORM = 'saveEditSourcePoolDefinitionForm'
 
const CMD_BUILD_QUESTION_STAGE = 'buildQuestionStage'
 
const HTTP_PARAM_AFTER_REBUILD_QUESTION_STAGE_CMD = 'afterRebuildQuestionStageCmd'
 
 $ctrl = null
 
 $access = null
 
 $tabs = null
 
 $lng = null
 
 $tpl = null
 
 $db = null
 
 $tree = null
 
 $pluginAdmin = null
 
 $testOBJ = null
 

Protected Attributes

 $questionSetConfig = null
 
 $sourcePoolDefinitionFactory = null
 
 $sourcePoolDefinitionList = null
 
 $stagingPool = null
 

Private Member Functions

 isAvoidManipulationRedirectRequired ()
 
 isManipulationCommand ()
 
 handleTabs ()
 
 buildQuestionStageCmd ()
 
 fetchAfterRebuildQuestionStageCmdParameter ()
 
 showGeneralConfigFormCmd (ilTestRandomQuestionSetGeneralConfigFormGUI $form=null)
 
 saveGeneralConfigFormCmd ()
 
 buildGeneralConfigFormGUI ()
 
 showSourcePoolDefinitionListCmd ()
 
 saveSourcePoolDefinitionListCmd ()
 
 buildSourcePoolDefinitionListToolbarGUI ()
 
 buildSourcePoolDefinitionListTableGUI ()
 
 deleteSingleSourcePoolDefinitionCmd ()
 
 deleteMultipleSourcePoolDefinitionsCmd ()
 
 deleteSourcePoolDefinitions ($definitionIds)
 
 showCreateSourcePoolDefinitionFormCmd (ilTestRandomQuestionSetPoolDefinitionFormGUI $form=null)
 
 saveCreateAndNewSourcePoolDefinitionFormCmd ()
 
 saveCreateSourcePoolDefinitionFormCmd ($redirect_back_to_form=false)
 
 buildCreateSourcePoolDefinitionFormGUI ()
 
 showEditSourcePoolDefinitionFormCmd (ilTestRandomQuestionSetPoolDefinitionFormGUI $form=null)
 
 saveEditSourcePoolDefinitionFormCmd ()
 
 buildEditSourcePoolDefinitionFormGUI ()
 
 fetchQuestionPoolIdParameter ()
 
 fetchSingleSourcePoolDefinitionIdParameter ()
 
 fetchMultiSourcePoolDefinitionIdsParameter ()
 
 getSourcePoolDefinitionByAvailableQuestionPoolId ($poolId)
 
 handleConfigurationStateMessages ($currentRequestCmd)
 
 buildQuestionStageRebuildLink ($afterRebuildQuestionStageCmd)
 
 buildGeneralConfigSubTabLink ()
 
 buildQuestionSelectionSubTabLink ()
 
 isNoAvailableQuestionPoolsHintRequired ($currentRequestCmd)
 
 isQuestionAmountConfigPerPoolHintRequired ($currentRequestCmd)
 
 isQuestionAmountConfigPerTestHintRequired ($currentRequestCmd)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

ilTestRandomQuestionSetConfigGUI::__construct ( ilCtrl  $ctrl,
ilAccessHandler  $access,
ilTabsGUI  $tabs,
ilLanguage  $lng,
ilTemplate  $tpl,
ilDB  $db,
ilTree  $tree,
ilPluginAdmin  $pluginAdmin,
ilObjTest  $testOBJ 
)

Definition at line 105 of file class.ilTestRandomQuestionSetConfigGUI.php.

109 {
110 $this->ctrl = $ctrl;
111 $this->access = $access;
112 $this->tabs = $tabs;
113 $this->lng = $lng;
114 $this->tpl = $tpl;
115 $this->db = $db;
116 $this->tree = $tree;
117 $this->pluginAdmin = $pluginAdmin;
118
119 $this->testOBJ = $testOBJ;
120
121 $this->questionSetConfig = new ilTestRandomQuestionSetConfig(
122 $this->tree, $this->db, $this->pluginAdmin, $this->testOBJ
123 );
124
125 $this->sourcePoolDefinitionFactory = new ilTestRandomQuestionSetSourcePoolDefinitionFactory(
126 $this->db, $this->testOBJ
127 );
128
129 $this->sourcePoolDefinitionList = new ilTestRandomQuestionSetSourcePoolDefinitionList(
130 $this->db, $this->testOBJ, $this->sourcePoolDefinitionFactory
131 );
132
133 $this->stagingPool = new ilTestRandomQuestionSetStagingPoolBuilder(
134 $this->db, $this->testOBJ
135 );
136 }

References $access, $ctrl, $db, $lng, $pluginAdmin, $tabs, $testOBJ, $tpl, and $tree.

Member Function Documentation

◆ buildCreateSourcePoolDefinitionFormGUI()

ilTestRandomQuestionSetConfigGUI::buildCreateSourcePoolDefinitionFormGUI ( )
private

Definition at line 537 of file class.ilTestRandomQuestionSetConfigGUI.php.

538 {
539 require_once 'Modules/Test/classes/forms/class.ilTestRandomQuestionSetPoolDefinitionFormGUI.php';
540
542 $this->ctrl, $this->lng, $this->testOBJ, $this, $this->questionSetConfig
543 );
544
545 $form->setSaveCommand(self::CMD_SAVE_CREATE_SRC_POOL_DEF_FORM);
546 $form->setSaveAndNewCommand(self::CMD_SAVE_AND_NEW_CREATE_SRC_POOL_DEF_FORM);
547
548 return $form;
549 }

Referenced by saveCreateSourcePoolDefinitionFormCmd(), and showCreateSourcePoolDefinitionFormCmd().

+ Here is the caller graph for this function:

◆ buildEditSourcePoolDefinitionFormGUI()

ilTestRandomQuestionSetConfigGUI::buildEditSourcePoolDefinitionFormGUI ( )
private

Definition at line 605 of file class.ilTestRandomQuestionSetConfigGUI.php.

606 {
607 require_once 'Modules/Test/classes/forms/class.ilTestRandomQuestionSetPoolDefinitionFormGUI.php';
608
610 $this->ctrl, $this->lng, $this->testOBJ, $this, $this->questionSetConfig
611 );
612
613 $form->setSaveCommand(self::CMD_SAVE_EDIT_SRC_POOL_DEF_FORM);
614
615 return $form;
616 }

Referenced by saveEditSourcePoolDefinitionFormCmd(), and showEditSourcePoolDefinitionFormCmd().

+ Here is the caller graph for this function:

◆ buildGeneralConfigFormGUI()

ilTestRandomQuestionSetConfigGUI::buildGeneralConfigFormGUI ( )
private

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

322 {
323 require_once 'Modules/Test/classes/forms/class.ilTestRandomQuestionSetGeneralConfigFormGUI.php';
324
326 $this->ctrl, $this->lng, $this->testOBJ, $this, $this->questionSetConfig
327 );
328
329 $form->build();
330
331 return $form;
332 }

Referenced by saveGeneralConfigFormCmd(), and showGeneralConfigFormCmd().

+ Here is the caller graph for this function:

◆ buildGeneralConfigSubTabLink()

ilTestRandomQuestionSetConfigGUI::buildGeneralConfigSubTabLink ( )
private

Definition at line 764 of file class.ilTestRandomQuestionSetConfigGUI.php.

765 {
766 $href = $this->ctrl->getLinkTarget($this, self::CMD_SHOW_GENERAL_CONFIG_FORM);
767 $label = $this->lng->txt('tst_rnd_quest_cfg_tab_general');
768
769 return "<a href=\"{$href}\">{$label}</a>";
770 }

◆ buildQuestionSelectionSubTabLink()

ilTestRandomQuestionSetConfigGUI::buildQuestionSelectionSubTabLink ( )
private

Definition at line 772 of file class.ilTestRandomQuestionSetConfigGUI.php.

773 {
774 $href = $this->ctrl->getLinkTarget($this, self::CMD_SHOW_SRC_POOL_DEF_LIST);
775 $label = $this->lng->txt('tst_rnd_quest_cfg_tab_pool');
776
777 return "<a href=\"{$href}\">{$label}</a>";
778 }

◆ buildQuestionStageCmd()

ilTestRandomQuestionSetConfigGUI::buildQuestionStageCmd ( )
private

Definition at line 248 of file class.ilTestRandomQuestionSetConfigGUI.php.

249 {
250 $this->sourcePoolDefinitionList->loadDefinitions();
251 $this->stagingPool->rebuild( $this->sourcePoolDefinitionList );
252 $this->sourcePoolDefinitionList->saveDefinitions();
253
254 $this->questionSetConfig->loadFromDb();
255 $this->questionSetConfig->setLastQuestionSyncTimestamp(time());
256 $this->questionSetConfig->saveToDb();
257
258 $this->testOBJ->saveCompleteStatus( $this->questionSetConfig );
259
260 ilUtil::sendSuccess($this->lng->txt("tst_msg_random_question_set_synced"), true);
261 $this->ctrl->redirect($this, $this->fetchAfterRebuildQuestionStageCmdParameter());
262 }
static sendSuccess($a_info="", $a_keep=false)
Send Success Message to Screen.

References fetchAfterRebuildQuestionStageCmdParameter(), and ilUtil\sendSuccess().

+ Here is the call graph for this function:

◆ buildQuestionStageRebuildLink()

ilTestRandomQuestionSetConfigGUI::buildQuestionStageRebuildLink (   $afterRebuildQuestionStageCmd)
private
Parameters
$afterRebuildQuestionStageCmd
Returns
string

Definition at line 752 of file class.ilTestRandomQuestionSetConfigGUI.php.

753 {
754 $this->ctrl->setParameter(
755 $this, self::HTTP_PARAM_AFTER_REBUILD_QUESTION_STAGE_CMD, $afterRebuildQuestionStageCmd
756 );
757
758 $href = $this->ctrl->getLinkTarget($this, self::CMD_BUILD_QUESTION_STAGE);
759 $label = $this->lng->txt('tst_btn_rebuild_random_question_stage');
760
761 return "<a href=\"{$href}\">{$label}</a>";
762 }

◆ buildSourcePoolDefinitionListTableGUI()

ilTestRandomQuestionSetConfigGUI::buildSourcePoolDefinitionListTableGUI ( )
private

Definition at line 394 of file class.ilTestRandomQuestionSetConfigGUI.php.

395 {
396 require_once 'Modules/Test/classes/tables/class.ilTestRandomQuestionSetSourcePoolDefinitionListTableGUI.php';
397
399 $this->ctrl, $this->lng, $this, self::CMD_SHOW_SRC_POOL_DEF_LIST
400 );
401
402 if( !$this->testOBJ->participantDataExist() )
403 {
404 $table->setDefinitionEditModeEnabled(true);
405 }
406
407 $table->setQuestionAmountColumnEnabled(
408 $this->questionSetConfig->isQuestionAmountConfigurationModePerPool()
409 );
410
411 require_once 'Modules/Test/classes/class.ilTestTaxonomyFilterLabelTranslater.php';
412 $translater = new ilTestTaxonomyFilterLabelTranslater($this->db);
413 $translater->loadLabels($this->sourcePoolDefinitionList);
414 $table->setTaxonomyFilterLabelTranslater($translater);
415
416 $table->build();
417
418 return $table;
419 }

Referenced by saveSourcePoolDefinitionListCmd(), and showSourcePoolDefinitionListCmd().

+ Here is the caller graph for this function:

◆ buildSourcePoolDefinitionListToolbarGUI()

ilTestRandomQuestionSetConfigGUI::buildSourcePoolDefinitionListToolbarGUI ( )
private

Definition at line 381 of file class.ilTestRandomQuestionSetConfigGUI.php.

382 {
383 require_once 'Modules/Test/classes/toolbars/class.ilTestRandomQuestionSetSourcePoolDefinitionListToolbarGUI.php';
384
386 $this->ctrl, $this->lng, $this, $this->questionSetConfig
387 );
388
389 $toolbar->build();
390
391 return $toolbar;
392 }

Referenced by showSourcePoolDefinitionListCmd().

+ Here is the caller graph for this function:

◆ deleteMultipleSourcePoolDefinitionsCmd()

ilTestRandomQuestionSetConfigGUI::deleteMultipleSourcePoolDefinitionsCmd ( )
private

Definition at line 430 of file class.ilTestRandomQuestionSetConfigGUI.php.

431 {
432 $definitionIds = $this->fetchMultiSourcePoolDefinitionIdsParameter();
433 $this->deleteSourcePoolDefinitions( $definitionIds );
434
435 ilUtil::sendSuccess($this->lng->txt("tst_msg_source_pool_definitions_deleted"), true);
436 $this->ctrl->redirect($this, self::CMD_SHOW_SRC_POOL_DEF_LIST);
437 }

References deleteSourcePoolDefinitions(), fetchMultiSourcePoolDefinitionIdsParameter(), and ilUtil\sendSuccess().

+ Here is the call graph for this function:

◆ deleteSingleSourcePoolDefinitionCmd()

ilTestRandomQuestionSetConfigGUI::deleteSingleSourcePoolDefinitionCmd ( )
private

Definition at line 421 of file class.ilTestRandomQuestionSetConfigGUI.php.

422 {
423 $definitionId = $this->fetchSingleSourcePoolDefinitionIdParameter();
424 $this->deleteSourcePoolDefinitions( array($definitionId) );
425
426 ilUtil::sendSuccess($this->lng->txt("tst_msg_source_pool_definitions_deleted"), true);
427 $this->ctrl->redirect($this, self::CMD_SHOW_SRC_POOL_DEF_LIST);
428 }

References deleteSourcePoolDefinitions(), fetchSingleSourcePoolDefinitionIdParameter(), and ilUtil\sendSuccess().

+ Here is the call graph for this function:

◆ deleteSourcePoolDefinitions()

ilTestRandomQuestionSetConfigGUI::deleteSourcePoolDefinitions (   $definitionIds)
private

Definition at line 439 of file class.ilTestRandomQuestionSetConfigGUI.php.

440 {
441 foreach($definitionIds as $definitionId)
442 {
443 $definition = $this->sourcePoolDefinitionFactory->getSourcePoolDefinitionByDefinitionId($definitionId);
444 $definition->deleteFromDb();
445 }
446
447 $this->sourcePoolDefinitionList->loadDefinitions();
448 $this->sourcePoolDefinitionList->reindexPositions();
449 $this->sourcePoolDefinitionList->saveDefinitions();
450
451 $this->sourcePoolDefinitionList->loadDefinitions();
452 $this->stagingPool->rebuild( $this->sourcePoolDefinitionList );
453 $this->sourcePoolDefinitionList->saveDefinitions();
454
455 // Bugfix for mantis: 0015082
456 $this->questionSetConfig->loadFromDb();
457 $this->questionSetConfig->setLastQuestionSyncTimestamp(time());
458 $this->questionSetConfig->saveToDb();
459
460 $this->testOBJ->saveCompleteStatus( $this->questionSetConfig );
461 }

Referenced by deleteMultipleSourcePoolDefinitionsCmd(), and deleteSingleSourcePoolDefinitionCmd().

+ Here is the caller graph for this function:

◆ executeCommand()

ilTestRandomQuestionSetConfigGUI::executeCommand ( )

Definition at line 138 of file class.ilTestRandomQuestionSetConfigGUI.php.

139 {
140 if (!$this->access->checkAccess("write", "", $this->testOBJ->getRefId()))
141 {
142 ilUtil::sendFailure($this->lng->txt("cannot_edit_test"), true);
143 $this->ctrl->redirectByClass('ilObjTestGUI', "infoScreen");
144 }
145
147 {
148 ilUtil::sendFailure($this->lng->txt("tst_msg_cannot_modify_random_question_set_conf_due_to_part"), true);
149 $this->ctrl->redirect($this);
150 }
151
152 $this->handleTabs();
153
154 $nextClass = $this->ctrl->getNextClass();
155
156 switch($nextClass)
157 {
158 case 'ilTestRandomQuestionSetPoolDefinitionFormGUI':
159
161 $this->ctrl, $this->lng, $this->testOBJ, $this, $this->questionSetConfig
162 );
163
164 $this->ctrl->forwardCommand($formGUI);
165
166 break;
167
168 default:
169
170 $cmd = $this->ctrl->getCmd(self::CMD_SHOW_GENERAL_CONFIG_FORM).'Cmd';
171
172 $this->$cmd();
173 }
174 }
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.
$cmd
Definition: sahs_server.php:35

References $cmd, handleTabs(), isAvoidManipulationRedirectRequired(), and ilUtil\sendFailure().

+ Here is the call graph for this function:

◆ fetchAfterRebuildQuestionStageCmdParameter()

ilTestRandomQuestionSetConfigGUI::fetchAfterRebuildQuestionStageCmdParameter ( )
private

Definition at line 264 of file class.ilTestRandomQuestionSetConfigGUI.php.

265 {
266 if( !isset($_GET[self::HTTP_PARAM_AFTER_REBUILD_QUESTION_STAGE_CMD]) )
267 {
269 }
270
271 if( !strlen($_GET[self::HTTP_PARAM_AFTER_REBUILD_QUESTION_STAGE_CMD]) )
272 {
274 }
275
277 }
$_GET["client_id"]

References $_GET, CMD_SHOW_GENERAL_CONFIG_FORM, and HTTP_PARAM_AFTER_REBUILD_QUESTION_STAGE_CMD.

Referenced by buildQuestionStageCmd().

+ Here is the caller graph for this function:

◆ fetchMultiSourcePoolDefinitionIdsParameter()

ilTestRandomQuestionSetConfigGUI::fetchMultiSourcePoolDefinitionIdsParameter ( )
private

Definition at line 650 of file class.ilTestRandomQuestionSetConfigGUI.php.

651 {
652 if( !isset($_POST['src_pool_def_ids']) || !is_array($_POST['src_pool_def_ids']) )
653 {
654 require_once 'Modules/Test/exceptions/class.ilTestMissingSourcePoolDefinitionParameterException.php';
656 }
657
658 $definitionIds = array();
659
660 foreach($_POST['src_pool_def_ids'] as $definitionId)
661 {
662 $definitionId = (int)$definitionId;
663
664 if( !$definitionId )
665 {
666 require_once 'Modules/Test/exceptions/class.ilTestMissingSourcePoolDefinitionParameterException.php';
668 }
669
670 $definitionIds[] = $definitionId;
671 }
672
673 return $definitionIds;
674 }
$_POST['username']
Definition: cron.php:12

References $_POST.

Referenced by deleteMultipleSourcePoolDefinitionsCmd().

+ Here is the caller graph for this function:

◆ fetchQuestionPoolIdParameter()

ilTestRandomQuestionSetConfigGUI::fetchQuestionPoolIdParameter ( )
private

Definition at line 618 of file class.ilTestRandomQuestionSetConfigGUI.php.

619 {
620 if( isset($_POST['quest_pool_id']) && (int)$_POST['quest_pool_id'] )
621 {
622 return (int)$_POST['quest_pool_id'];
623 }
624
625 if( isset($_GET['quest_pool_id']) && (int)$_GET['quest_pool_id'] )
626 {
627 return (int)$_GET['quest_pool_id'];
628 }
629
630 require_once 'Modules/Test/exceptions/class.ilTestMissingQuestionPoolIdParameterException.php';
632 }

References $_GET, and $_POST.

Referenced by saveCreateSourcePoolDefinitionFormCmd(), and showCreateSourcePoolDefinitionFormCmd().

+ Here is the caller graph for this function:

◆ fetchSingleSourcePoolDefinitionIdParameter()

ilTestRandomQuestionSetConfigGUI::fetchSingleSourcePoolDefinitionIdParameter ( )
private

Definition at line 634 of file class.ilTestRandomQuestionSetConfigGUI.php.

635 {
636 if( isset($_POST['src_pool_def_id']) && (int)$_POST['src_pool_def_id'] )
637 {
638 return (int)$_POST['src_pool_def_id'];
639 }
640
641 if( isset($_GET['src_pool_def_id']) && (int)$_GET['src_pool_def_id'] )
642 {
643 return (int)$_GET['src_pool_def_id'];
644 }
645
646 require_once 'Modules/Test/exceptions/class.ilTestMissingSourcePoolDefinitionParameterException.php';
648 }

References $_GET, and $_POST.

Referenced by deleteSingleSourcePoolDefinitionCmd(), saveEditSourcePoolDefinitionFormCmd(), and showEditSourcePoolDefinitionFormCmd().

+ Here is the caller graph for this function:

◆ getSourcePoolDefinitionByAvailableQuestionPoolId()

ilTestRandomQuestionSetConfigGUI::getSourcePoolDefinitionByAvailableQuestionPoolId (   $poolId)
private

Definition at line 676 of file class.ilTestRandomQuestionSetConfigGUI.php.

677 {
678 $availablePools = $this->testOBJ->getAvailableQuestionpools(
679 true, $this->questionSetConfig->arePoolsWithHomogeneousScoredQuestionsRequired(), false, true, true
680 );
681
682 if( isset($availablePools[$poolId]) )
683 {
684 $originalPoolData = $availablePools[$poolId];
685
686 $originalPoolData['qpl_path'] = $this->questionSetConfig->getQuestionPoolPathString($poolId);
687
688 return $this->sourcePoolDefinitionFactory->getSourcePoolDefinitionByOriginalPoolData($originalPoolData);
689 }
690
691 require_once 'Modules/Test/exceptions/class.ilTestQuestionPoolNotAvailableAsSourcePoolException.php';
693 }

Referenced by saveCreateSourcePoolDefinitionFormCmd(), and showCreateSourcePoolDefinitionFormCmd().

+ Here is the caller graph for this function:

◆ handleConfigurationStateMessages()

ilTestRandomQuestionSetConfigGUI::handleConfigurationStateMessages (   $currentRequestCmd)
private

Definition at line 695 of file class.ilTestRandomQuestionSetConfigGUI.php.

696 {
697 if( !$this->questionSetConfig->isQuestionAmountConfigComplete() )
698 {
699 $infoMessage = $this->lng->txt('tst_msg_rand_quest_set_incomplete_quest_amount_cfg');
700
701 if( $this->isQuestionAmountConfigPerTestHintRequired($currentRequestCmd) )
702 {
703 $infoMessage .= '<br />'.sprintf(
704 $this->lng->txt('tst_msg_rand_quest_set_change_quest_amount_here'),
705 $this->buildGeneralConfigSubTabLink()
706 );
707 }
708 elseif( $this->isQuestionAmountConfigPerPoolHintRequired($currentRequestCmd) )
709 {
710 $infoMessage .= '<br />'.sprintf(
711 $this->lng->txt('tst_msg_rand_quest_set_change_quest_amount_here'),
712 $this->buildQuestionSelectionSubTabLink()
713 );
714 }
715 }
716 elseif( !$this->questionSetConfig->hasSourcePoolDefinitions() )
717 {
718 $infoMessage = $this->lng->txt('tst_msg_rand_quest_set_no_src_pool_defs');
719 }
720 elseif( !$this->questionSetConfig->isQuestionSetBuildable() )
721 {
722 $infoMessage = $this->lng->txt('tst_msg_rand_quest_set_pass_not_buildable');
723 }
724 else
725 {
726 $syncDate = new ilDateTime(
727 $this->questionSetConfig->getLastQuestionSyncTimestamp(), IL_CAL_UNIX
728 );
729
730 $infoMessage = sprintf(
731 $this->lng->txt('tst_msg_rand_quest_set_stage_pool_last_sync'), ilDatePresentation::formatDate($syncDate)
732 );
733
734 if( !$this->testOBJ->participantDataExist() )
735 {
736 $infoMessage .= "<br />{$this->buildQuestionStageRebuildLink($currentRequestCmd)}";
737 }
738 }
739
740 if( $this->isNoAvailableQuestionPoolsHintRequired($currentRequestCmd) )
741 {
742 $infoMessage .= '<br />'.$this->lng->txt('tst_msg_rand_quest_set_no_pools_available');
743 }
744
745 ilUtil::sendInfo($infoMessage);
746 }
const IL_CAL_UNIX
static formatDate(ilDateTime $date)
Format a date @access public.
@classDescription Date and time handling
static sendInfo($a_info="", $a_keep=false)
Send Info Message to Screen.

References ilDatePresentation\formatDate(), IL_CAL_UNIX, isNoAvailableQuestionPoolsHintRequired(), isQuestionAmountConfigPerPoolHintRequired(), isQuestionAmountConfigPerTestHintRequired(), and ilUtil\sendInfo().

Referenced by showGeneralConfigFormCmd(), and showSourcePoolDefinitionListCmd().

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

◆ handleTabs()

ilTestRandomQuestionSetConfigGUI::handleTabs ( )
private

Definition at line 210 of file class.ilTestRandomQuestionSetConfigGUI.php.

211 {
212 $this->tabs->activateTab('assQuestions');
213
214 $this->tabs->addSubTab(
215 'tstRandQuestSetGeneralConfig',
216 $this->lng->txt('tst_rnd_quest_cfg_tab_general'),
217 $this->ctrl->getLinkTarget($this, self::CMD_SHOW_GENERAL_CONFIG_FORM)
218 );
219
220 $this->tabs->addSubTab(
221 'tstRandQuestSetPoolConfig',
222 $this->lng->txt('tst_rnd_quest_cfg_tab_pool'),
223 $this->ctrl->getLinkTarget($this, self::CMD_SHOW_SRC_POOL_DEF_LIST)
224 );
225
226 switch( $this->ctrl->getCmd(self::CMD_SHOW_GENERAL_CONFIG_FORM) )
227 {
230
231 $this->tabs->activateSubTab('tstRandQuestSetGeneralConfig');
232 break;
233
242
243 $this->tabs->activateSubTab('tstRandQuestSetPoolConfig');
244 break;
245 }
246 }

References CMD_DELETE_MULTI_SRC_POOL_DEFS, CMD_DELETE_SINGLE_SRC_POOL_DEF, CMD_SAVE_CREATE_SRC_POOL_DEF_FORM, CMD_SAVE_EDIT_SRC_POOL_DEF_FORM, CMD_SAVE_GENERAL_CONFIG_FORM, CMD_SAVE_SRC_POOL_DEF_LIST, CMD_SHOW_CREATE_SRC_POOL_DEF_FORM, CMD_SHOW_EDIT_SRC_POOL_DEF_FORM, CMD_SHOW_GENERAL_CONFIG_FORM, and CMD_SHOW_SRC_POOL_DEF_LIST.

Referenced by executeCommand().

+ Here is the caller graph for this function:

◆ isAvoidManipulationRedirectRequired()

ilTestRandomQuestionSetConfigGUI::isAvoidManipulationRedirectRequired ( )
private

Definition at line 176 of file class.ilTestRandomQuestionSetConfigGUI.php.

177 {
178 if( !$this->testOBJ->participantDataExist() )
179 {
180 return false;
181 }
182
183 if( !$this->isManipulationCommand() )
184 {
185 return false;
186 }
187
188 return true;
189 }

References isManipulationCommand().

Referenced by executeCommand().

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

◆ isManipulationCommand()

◆ isNoAvailableQuestionPoolsHintRequired()

ilTestRandomQuestionSetConfigGUI::isNoAvailableQuestionPoolsHintRequired (   $currentRequestCmd)
private
Parameters
$currentRequestCmd
Returns
bool

Definition at line 784 of file class.ilTestRandomQuestionSetConfigGUI.php.

785 {
786 if( $currentRequestCmd != self::CMD_SHOW_SRC_POOL_DEF_LIST )
787 {
788 return false;
789 }
790
791 if( $this->questionSetConfig->doesSelectableQuestionPoolsExist() )
792 {
793 return false;
794 }
795
796 return true;
797 }

Referenced by handleConfigurationStateMessages().

+ Here is the caller graph for this function:

◆ isQuestionAmountConfigPerPoolHintRequired()

ilTestRandomQuestionSetConfigGUI::isQuestionAmountConfigPerPoolHintRequired (   $currentRequestCmd)
private
Parameters
$currentRequestCmd
Returns
bool

Definition at line 803 of file class.ilTestRandomQuestionSetConfigGUI.php.

804 {
805 if( $currentRequestCmd != self::CMD_SHOW_GENERAL_CONFIG_FORM )
806 {
807 return false;
808 }
809
810 if( !$this->questionSetConfig->isQuestionAmountConfigurationModePerPool() )
811 {
812 return false;
813 }
814
815 return true;
816 }

Referenced by handleConfigurationStateMessages().

+ Here is the caller graph for this function:

◆ isQuestionAmountConfigPerTestHintRequired()

ilTestRandomQuestionSetConfigGUI::isQuestionAmountConfigPerTestHintRequired (   $currentRequestCmd)
private
Parameters
$currentRequestCmd
Returns
bool

Definition at line 822 of file class.ilTestRandomQuestionSetConfigGUI.php.

823 {
824 if( $currentRequestCmd != self::CMD_SHOW_SRC_POOL_DEF_LIST )
825 {
826 return false;
827 }
828
829 if( !$this->questionSetConfig->isQuestionAmountConfigurationModePerTest() )
830 {
831 return false;
832 }
833
834 return true;
835 }

Referenced by handleConfigurationStateMessages().

+ Here is the caller graph for this function:

◆ saveCreateAndNewSourcePoolDefinitionFormCmd()

ilTestRandomQuestionSetConfigGUI::saveCreateAndNewSourcePoolDefinitionFormCmd ( )
private

Definition at line 481 of file class.ilTestRandomQuestionSetConfigGUI.php.

482 {
484 }
saveCreateSourcePoolDefinitionFormCmd($redirect_back_to_form=false)

References saveCreateSourcePoolDefinitionFormCmd().

+ Here is the call graph for this function:

◆ saveCreateSourcePoolDefinitionFormCmd()

ilTestRandomQuestionSetConfigGUI::saveCreateSourcePoolDefinitionFormCmd (   $redirect_back_to_form = false)
private
Parameters
bool$redirect_back_to_form

Definition at line 489 of file class.ilTestRandomQuestionSetConfigGUI.php.

490 {
491 $this->questionSetConfig->loadFromDb();
492
493 $poolId = $this->fetchQuestionPoolIdParameter();
494 $sourcePoolDefinition = $this->getSourcePoolDefinitionByAvailableQuestionPoolId($poolId);
495 $availableTaxonomyIds = ilObjTaxonomy::getUsageOfObject($sourcePoolDefinition->getPoolId());
496
498 $form->build($sourcePoolDefinition, $availableTaxonomyIds);
499
500 $errors = !$form->checkInput(); // ALWAYS CALL BEFORE setValuesByPost()
501 $form->setValuesByPost(); // NEVER CALL THIS BEFORE checkInput()
502
503 if($errors)
504 {
505 return $this->showCreateSourcePoolDefinitionFormCmd($form);
506 }
507
508 $form->applySubmit( $sourcePoolDefinition, $availableTaxonomyIds );
509
510 $this->sourcePoolDefinitionList->loadDefinitions();
511 $sourcePoolDefinition->setSequencePosition( $this->sourcePoolDefinitionList->getNextPosition() );
512 $sourcePoolDefinition->saveToDb();
513 $this->sourcePoolDefinitionList->addDefinition($sourcePoolDefinition);
514
515 $this->stagingPool->rebuild( $this->sourcePoolDefinitionList );
516 $this->sourcePoolDefinitionList->saveDefinitions();
517
518 $this->questionSetConfig->setLastQuestionSyncTimestamp(time());
519 $this->questionSetConfig->saveToDb();
520
521 $this->testOBJ->saveCompleteStatus( $this->questionSetConfig );
522
523 if($redirect_back_to_form)
524 {
525 ilUtil::sendSuccess($this->lng->txt("tst_msg_random_qsc_modified_add_new_rule"), true);
526 $this->ctrl->setParameter($this, 'src_pool_def_id', $sourcePoolDefinition->getId());
527 $this->ctrl->setParameter($this, 'quest_pool_id', $sourcePoolDefinition->getPoolId());
528 $this->ctrl->redirect($this, self::CMD_SHOW_CREATE_SRC_POOL_DEF_FORM);
529 }
530 else
531 {
532 ilUtil::sendSuccess($this->lng->txt("tst_msg_random_question_set_config_modified"), true);
533 $this->ctrl->redirect($this, self::CMD_SHOW_SRC_POOL_DEF_LIST);
534 }
535 }
static getUsageOfObject($a_obj_id, $a_include_titles=false)
Get usage of object.
showCreateSourcePoolDefinitionFormCmd(ilTestRandomQuestionSetPoolDefinitionFormGUI $form=null)
$errors

References $errors, buildCreateSourcePoolDefinitionFormGUI(), fetchQuestionPoolIdParameter(), getSourcePoolDefinitionByAvailableQuestionPoolId(), ilObjTaxonomy\getUsageOfObject(), ilUtil\sendSuccess(), and showCreateSourcePoolDefinitionFormCmd().

Referenced by saveCreateAndNewSourcePoolDefinitionFormCmd().

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

◆ saveEditSourcePoolDefinitionFormCmd()

ilTestRandomQuestionSetConfigGUI::saveEditSourcePoolDefinitionFormCmd ( )
private

Definition at line 568 of file class.ilTestRandomQuestionSetConfigGUI.php.

569 {
570 $this->questionSetConfig->loadFromDb();
571
573 $sourcePoolDefinition = $this->sourcePoolDefinitionFactory->getSourcePoolDefinitionByDefinitionId($defId);
574 $availableTaxonomyIds = ilObjTaxonomy::getUsageOfObject($sourcePoolDefinition->getPoolId());
575
577 $form->build($sourcePoolDefinition, $availableTaxonomyIds);
578
579 $errors = !$form->checkInput(); // ALWAYS CALL BEFORE setValuesByPost()
580 $form->setValuesByPost(); // NEVER CALL THIS BEFORE checkInput()
581
582 if($errors)
583 {
584 return $this->showSourcePoolDefinitionListCmd($form);
585 }
586
587 $form->applySubmit($sourcePoolDefinition, $availableTaxonomyIds);
588
589 $sourcePoolDefinition->saveToDb();
590
591 $this->sourcePoolDefinitionList->loadDefinitions();
592 $this->stagingPool->rebuild( $this->sourcePoolDefinitionList );
593
594 $this->questionSetConfig->setLastQuestionSyncTimestamp(time());
595 $this->questionSetConfig->saveToDb();
596
597 $this->sourcePoolDefinitionList->saveDefinitions();
598
599 $this->testOBJ->saveCompleteStatus( $this->questionSetConfig );
600
601 ilUtil::sendSuccess($this->lng->txt("tst_msg_random_question_set_config_modified"), true);
602 $this->ctrl->redirect($this, self::CMD_SHOW_SRC_POOL_DEF_LIST);
603 }

References $errors, buildEditSourcePoolDefinitionFormGUI(), fetchSingleSourcePoolDefinitionIdParameter(), ilObjTaxonomy\getUsageOfObject(), ilUtil\sendSuccess(), and showSourcePoolDefinitionListCmd().

+ Here is the call graph for this function:

◆ saveGeneralConfigFormCmd()

ilTestRandomQuestionSetConfigGUI::saveGeneralConfigFormCmd ( )
private

Definition at line 292 of file class.ilTestRandomQuestionSetConfigGUI.php.

293 {
294 $this->questionSetConfig->loadFromDb();
295
296 $form = $this->buildGeneralConfigFormGUI();
297
298 $errors = !$form->checkInput(); // ALWAYS CALL BEFORE setValuesByPost()
299 $form->setValuesByPost(); // NEVER CALL THIS BEFORE checkInput()
300
301 if($errors)
302 {
303 return $this->showGeneralConfigFormCmd($form);
304 }
305
306 $form->save();
307
308 $this->sourcePoolDefinitionList->loadDefinitions();
309 $this->stagingPool->rebuild( $this->sourcePoolDefinitionList );
310 $this->sourcePoolDefinitionList->saveDefinitions();
311
312 $this->questionSetConfig->setLastQuestionSyncTimestamp(time());
313 $this->questionSetConfig->saveToDb();
314
315 $this->testOBJ->saveCompleteStatus( $this->questionSetConfig );
316
317 ilUtil::sendSuccess($this->lng->txt("tst_msg_random_question_set_config_modified"), true);
318 $this->ctrl->redirect($this, self::CMD_SHOW_GENERAL_CONFIG_FORM);
319 }
showGeneralConfigFormCmd(ilTestRandomQuestionSetGeneralConfigFormGUI $form=null)

References $errors, buildGeneralConfigFormGUI(), ilUtil\sendSuccess(), and showGeneralConfigFormCmd().

+ Here is the call graph for this function:

◆ saveSourcePoolDefinitionListCmd()

ilTestRandomQuestionSetConfigGUI::saveSourcePoolDefinitionListCmd ( )
private

Definition at line 356 of file class.ilTestRandomQuestionSetConfigGUI.php.

357 {
358 $this->questionSetConfig->loadFromDb();
359
361
362 $this->sourcePoolDefinitionList->loadDefinitions();
363
364 $table->applySubmit($this->sourcePoolDefinitionList);
365
366 $this->sourcePoolDefinitionList->reindexPositions();
367 $this->sourcePoolDefinitionList->saveDefinitions();
368
369 $this->stagingPool->rebuild( $this->sourcePoolDefinitionList );
370 $this->sourcePoolDefinitionList->saveDefinitions();
371
372 $this->questionSetConfig->setLastQuestionSyncTimestamp(time());
373 $this->questionSetConfig->saveToDb();
374
375 $this->testOBJ->saveCompleteStatus( $this->questionSetConfig );
376
377 ilUtil::sendSuccess($this->lng->txt("tst_msg_random_question_set_config_modified"), true);
378 $this->ctrl->redirect($this, self::CMD_SHOW_SRC_POOL_DEF_LIST);
379 }

References buildSourcePoolDefinitionListTableGUI(), and ilUtil\sendSuccess().

+ Here is the call graph for this function:

◆ showCreateSourcePoolDefinitionFormCmd()

ilTestRandomQuestionSetConfigGUI::showCreateSourcePoolDefinitionFormCmd ( ilTestRandomQuestionSetPoolDefinitionFormGUI  $form = null)
private

Definition at line 463 of file class.ilTestRandomQuestionSetConfigGUI.php.

464 {
465 $this->questionSetConfig->loadFromDb();
466
467 $poolId = $this->fetchQuestionPoolIdParameter();
468
469 $sourcePoolDefinition = $this->getSourcePoolDefinitionByAvailableQuestionPoolId($poolId);
470 $availableTaxonomyIds = ilObjTaxonomy::getUsageOfObject($sourcePoolDefinition->getPoolId());
471
472 if($form === null)
473 {
475 $form->build($sourcePoolDefinition, $availableTaxonomyIds);
476 }
477
478 $this->tpl->setContent( $this->ctrl->getHTML($form) );
479 }
build(ilTestRandomQuestionSetSourcePoolDefinition $sourcePool, $availableTaxonomyIds)

References buildCreateSourcePoolDefinitionFormGUI(), fetchQuestionPoolIdParameter(), getSourcePoolDefinitionByAvailableQuestionPoolId(), and ilObjTaxonomy\getUsageOfObject().

Referenced by saveCreateSourcePoolDefinitionFormCmd().

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

◆ showEditSourcePoolDefinitionFormCmd()

ilTestRandomQuestionSetConfigGUI::showEditSourcePoolDefinitionFormCmd ( ilTestRandomQuestionSetPoolDefinitionFormGUI  $form = null)
private

Definition at line 551 of file class.ilTestRandomQuestionSetConfigGUI.php.

552 {
553 $this->questionSetConfig->loadFromDb();
554
556 $sourcePoolDefinition = $this->sourcePoolDefinitionFactory->getSourcePoolDefinitionByDefinitionId($defId);
557 $availableTaxonomyIds = ilObjTaxonomy::getUsageOfObject($sourcePoolDefinition->getPoolId());
558
559 if($form === null)
560 {
562 $form->build($sourcePoolDefinition, $availableTaxonomyIds);
563 }
564
565 $this->tpl->setContent( $this->ctrl->getHTML($form) );
566 }

References buildEditSourcePoolDefinitionFormGUI(), fetchSingleSourcePoolDefinitionIdParameter(), and ilObjTaxonomy\getUsageOfObject().

+ Here is the call graph for this function:

◆ showGeneralConfigFormCmd()

ilTestRandomQuestionSetConfigGUI::showGeneralConfigFormCmd ( ilTestRandomQuestionSetGeneralConfigFormGUI  $form = null)
private

Definition at line 279 of file class.ilTestRandomQuestionSetConfigGUI.php.

280 {
281 if($form === null)
282 {
283 $this->questionSetConfig->loadFromDb();
284 $form = $this->buildGeneralConfigFormGUI();
285 }
286
287 $this->tpl->setContent( $this->ctrl->getHTML($form) );
288
289 $this->handleConfigurationStateMessages(self::CMD_SHOW_GENERAL_CONFIG_FORM);
290 }

References buildGeneralConfigFormGUI(), and handleConfigurationStateMessages().

Referenced by saveGeneralConfigFormCmd().

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

◆ showSourcePoolDefinitionListCmd()

ilTestRandomQuestionSetConfigGUI::showSourcePoolDefinitionListCmd ( )
private

Definition at line 334 of file class.ilTestRandomQuestionSetConfigGUI.php.

335 {
336 $this->questionSetConfig->loadFromDb();
337 $this->sourcePoolDefinitionList->loadDefinitions();
338
339 $content = '';
340
341 if( !$this->testOBJ->participantDataExist() )
342 {
343 $toolbar = $this->buildSourcePoolDefinitionListToolbarGUI();
344 $content .= $this->ctrl->getHTML($toolbar);
345 }
346
348 $table->init( $this->sourcePoolDefinitionList);
349 $content .= $this->ctrl->getHTML($table);
350
351 $this->tpl->setContent($content);
352
353 $this->handleConfigurationStateMessages(self::CMD_SHOW_SRC_POOL_DEF_LIST);
354 }

References buildSourcePoolDefinitionListTableGUI(), buildSourcePoolDefinitionListToolbarGUI(), and handleConfigurationStateMessages().

Referenced by saveEditSourcePoolDefinitionFormCmd().

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

Field Documentation

◆ $access

ilTestRandomQuestionSetConfigGUI::$access = null

Definition at line 48 of file class.ilTestRandomQuestionSetConfigGUI.php.

Referenced by __construct().

◆ $ctrl

ilTestRandomQuestionSetConfigGUI::$ctrl = null

Definition at line 43 of file class.ilTestRandomQuestionSetConfigGUI.php.

Referenced by __construct().

◆ $db

ilTestRandomQuestionSetConfigGUI::$db = null

Definition at line 68 of file class.ilTestRandomQuestionSetConfigGUI.php.

Referenced by __construct().

◆ $lng

ilTestRandomQuestionSetConfigGUI::$lng = null

Definition at line 58 of file class.ilTestRandomQuestionSetConfigGUI.php.

Referenced by __construct().

◆ $pluginAdmin

ilTestRandomQuestionSetConfigGUI::$pluginAdmin = null

Definition at line 78 of file class.ilTestRandomQuestionSetConfigGUI.php.

Referenced by __construct().

◆ $questionSetConfig

ilTestRandomQuestionSetConfigGUI::$questionSetConfig = null
protected

Definition at line 88 of file class.ilTestRandomQuestionSetConfigGUI.php.

◆ $sourcePoolDefinitionFactory

ilTestRandomQuestionSetConfigGUI::$sourcePoolDefinitionFactory = null
protected

Definition at line 93 of file class.ilTestRandomQuestionSetConfigGUI.php.

◆ $sourcePoolDefinitionList

ilTestRandomQuestionSetConfigGUI::$sourcePoolDefinitionList = null
protected

Definition at line 98 of file class.ilTestRandomQuestionSetConfigGUI.php.

◆ $stagingPool

ilTestRandomQuestionSetConfigGUI::$stagingPool = null
protected

Definition at line 103 of file class.ilTestRandomQuestionSetConfigGUI.php.

◆ $tabs

ilTestRandomQuestionSetConfigGUI::$tabs = null

Definition at line 53 of file class.ilTestRandomQuestionSetConfigGUI.php.

Referenced by __construct().

◆ $testOBJ

ilTestRandomQuestionSetConfigGUI::$testOBJ = null

Definition at line 83 of file class.ilTestRandomQuestionSetConfigGUI.php.

Referenced by __construct().

◆ $tpl

ilTestRandomQuestionSetConfigGUI::$tpl = null

Definition at line 63 of file class.ilTestRandomQuestionSetConfigGUI.php.

Referenced by __construct().

◆ $tree

ilTestRandomQuestionSetConfigGUI::$tree = null

Definition at line 73 of file class.ilTestRandomQuestionSetConfigGUI.php.

Referenced by __construct().

◆ CMD_BUILD_QUESTION_STAGE

const ilTestRandomQuestionSetConfigGUI::CMD_BUILD_QUESTION_STAGE = 'buildQuestionStage'

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

Referenced by isManipulationCommand().

◆ CMD_DELETE_MULTI_SRC_POOL_DEFS

const ilTestRandomQuestionSetConfigGUI::CMD_DELETE_MULTI_SRC_POOL_DEFS = 'deleteMultipleSourcePoolDefinitions'

◆ CMD_DELETE_SINGLE_SRC_POOL_DEF

const ilTestRandomQuestionSetConfigGUI::CMD_DELETE_SINGLE_SRC_POOL_DEF = 'deleteSingleSourcePoolDefinition'

◆ CMD_SAVE_AND_NEW_CREATE_SRC_POOL_DEF_FORM

const ilTestRandomQuestionSetConfigGUI::CMD_SAVE_AND_NEW_CREATE_SRC_POOL_DEF_FORM = 'saveCreateAndNewSourcePoolDefinitionForm'

Definition at line 34 of file class.ilTestRandomQuestionSetConfigGUI.php.

Referenced by isManipulationCommand().

◆ CMD_SAVE_CREATE_SRC_POOL_DEF_FORM

const ilTestRandomQuestionSetConfigGUI::CMD_SAVE_CREATE_SRC_POOL_DEF_FORM = 'saveCreateSourcePoolDefinitionForm'

Definition at line 33 of file class.ilTestRandomQuestionSetConfigGUI.php.

Referenced by handleTabs(), and isManipulationCommand().

◆ CMD_SAVE_EDIT_SRC_POOL_DEF_FORM

const ilTestRandomQuestionSetConfigGUI::CMD_SAVE_EDIT_SRC_POOL_DEF_FORM = 'saveEditSourcePoolDefinitionForm'

Definition at line 36 of file class.ilTestRandomQuestionSetConfigGUI.php.

Referenced by handleTabs(), and isManipulationCommand().

◆ CMD_SAVE_GENERAL_CONFIG_FORM

const ilTestRandomQuestionSetConfigGUI::CMD_SAVE_GENERAL_CONFIG_FORM = 'saveGeneralConfigForm'

◆ CMD_SAVE_SRC_POOL_DEF_LIST

const ilTestRandomQuestionSetConfigGUI::CMD_SAVE_SRC_POOL_DEF_LIST = 'saveSourcePoolDefinitionList'

◆ CMD_SHOW_CREATE_SRC_POOL_DEF_FORM

const ilTestRandomQuestionSetConfigGUI::CMD_SHOW_CREATE_SRC_POOL_DEF_FORM = 'showCreateSourcePoolDefinitionForm'

◆ CMD_SHOW_EDIT_SRC_POOL_DEF_FORM

const ilTestRandomQuestionSetConfigGUI::CMD_SHOW_EDIT_SRC_POOL_DEF_FORM = 'showEditSourcePoolDefinitionForm'

◆ CMD_SHOW_GENERAL_CONFIG_FORM

const ilTestRandomQuestionSetConfigGUI::CMD_SHOW_GENERAL_CONFIG_FORM = 'showGeneralConfigForm'

◆ CMD_SHOW_SRC_POOL_DEF_LIST

const ilTestRandomQuestionSetConfigGUI::CMD_SHOW_SRC_POOL_DEF_LIST = 'showSourcePoolDefinitionList'

◆ HTTP_PARAM_AFTER_REBUILD_QUESTION_STAGE_CMD

const ilTestRandomQuestionSetConfigGUI::HTTP_PARAM_AFTER_REBUILD_QUESTION_STAGE_CMD = 'afterRebuildQuestionStageCmd'

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