public function build() { $this->setFormAction($this->ctrl->getFormAction($this->questionSetConfigGUI)); if ($this->questionSetConfig->doesSelectableQuestionPoolsExist()) { $this->populateNewQuestionSelectionRuleInputs(); } }
/** * @param $currentRequestCmd * @return bool */ private function isNoAvailableQuestionPoolsHintRequired($currentRequestCmd) { if ($currentRequestCmd != self::CMD_SHOW_SRC_POOL_DEF_LIST) { return false; } if ($this->questionSetConfig->doesSelectableQuestionPoolsExist()) { return false; } return true; }