4 require_once
'Modules/TestQuestionPool/classes/class.ilAssQuestionSkillAssignmentsGUI.php';
5 require_once
'Modules/TestQuestionPool/classes/class.ilAssQuestionSkillUsagesTableGUI.php';
75 $this->refId = $refId;
80 if (!$this->poolOBJ->isSkillServiceEnabled()) {
88 if (!$this->access->checkAccess(
'write',
'', $this->refId)) {
97 $link = $this->ctrl->getLinkTargetByClass(
98 'ilAssQuestionSkillAssignmentsGUI',
101 $this->tabs->addSubTab(
102 'ilassquestionskillassignmentsgui',
103 $this->lng->txt(
'qpl_skl_sub_tab_quest_assign'),
107 $link = $this->ctrl->getLinkTargetByClass(
108 'ilAssQuestionSkillUsagesTableGUI',
111 $this->tabs->addSubTab(
112 'ilassquestionskillusagestablegui',
113 $this->lng->txt(
'qpl_skl_sub_tab_usages'),
117 $this->tabs->activateTab(
'qpl_tab_competences');
118 $this->tabs->activateSubTab($activeSubTabId);
124 $this->
ilias->raiseError($this->lng->txt(
"permission_denied"), $this->
ilias->error_obj->MESSAGE);
127 $nextClass = $this->ctrl->getNextClass();
131 switch ($nextClass) {
132 case 'ilassquestionskillassignmentsgui':
134 require_once
'Modules/TestQuestionPool/classes/class.ilAssQuestionList.php';
135 $questionList =
new ilAssQuestionList($this->db, $this->lng, $this->pluginAdmin);
136 $questionList->setParentObjId($this->poolOBJ->getId());
138 $questionList->load();
141 $gui->setAssignmentEditingEnabled(
true);
142 $gui->setQuestionContainerId($this->poolOBJ->getId());
143 $gui->setQuestionList($questionList);
145 $this->ctrl->forwardCommand($gui);
149 case 'ilassquestionskillusagestablegui':
156 $this->poolOBJ->getId()
159 $this->ctrl->forwardCommand($gui);
This class provides processing control methods.
manageTabs($activeSubTabId)
Interface ilAccessHandler.
Administration class for plugins.
__construct(ILIAS $ilias, ilCtrl $ctrl, ilAccessHandler $access, ilTabsGUI $tabs, ilTemplate $tpl, ilLanguage $lng, ilDBInterface $db, ilPluginAdmin $pluginAdmin, ilObjQuestionPool $poolOBJ, $refId)
special template class to simplify handling of ITX/PEAR
redirection script todo: (a better solution should control the processing via a xml file) ...
static isSkillManagementGloballyActivated()
const CMD_SHOW_SKILL_QUEST_ASSIGNS
const QUESTION_INSTANCE_TYPE_ORIGINALS