4 require_once
'Services/UIComponent/Toolbar/classes/class.ilToolbarGUI.php';
49 parent::__construct();
54 $this->
setFormAction($this->ctrl->getFormAction($this->questionSetConfigGUI));
56 if ($this->questionSetConfig->doesSelectableQuestionPoolsExist()) {
63 $sourcePoolSelectOptionArray = array();
65 foreach ($availablePools as $poolId => $poolData) {
66 $sourcePoolSelectOptionArray[$poolId] = $poolData[
'title'];
69 return $sourcePoolSelectOptionArray;
75 #$availablePools = $this->questionSetConfig->getSelectableQuestionPools(); 77 #require_once 'Services/Form/classes/class.ilSelectInputGUI.php'; 78 #$poolSelection = new ilSelectInputGUI(null, 'quest_pool_id'); 79 #$poolSelection->setOptions($this->buildSourcePoolSelectOptionsArray($availablePools)); 81 #$this->addInputItem($poolSelection, true); 84 $this->lng->txt(
'tst_rnd_quest_set_tb_add_pool_btn'),
85 #ilTestRandomQuestionSetConfigGUI::CMD_SHOW_CREATE_SRC_POOL_DEF_FORM
This class provides processing control methods.
const CMD_SHOW_POOL_SELECTOR_EXPLORER