private function buildEvaluationToolbarGUI($usrId, $selectedSkillProfileId) { $availableSkillProfiles = $this->skillEvaluation->getAssignedSkillMatchingSkillProfiles($usrId); $noSkillProfileOptionEnabled = $this->skillEvaluation->noProfileMatchingAssignedSkillExists($usrId, $availableSkillProfiles); $gui = new ilTestSkillEvaluationToolbarGUI($this->ctrl, $this->lng, $this, self::CMD_SHOW); $gui->setAvailableSkillProfiles($availableSkillProfiles); $gui->setNoSkillProfileOptionEnabled($noSkillProfileOptionEnabled); $gui->setSelectedEvaluationMode($selectedSkillProfileId); $gui->build(); return $gui; }