ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
class.SurveySkillDeletionManager.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
22 namespace ILIAS\Survey\Skills;
23 
28 {
30 
31  public function __construct(
32  SurveySkillDBRepository $survey_skill_repo = null
33  ) {
34  global $DIC;
35 
36  $this->survey_skill_repo = ($survey_skill_repo)
37  ?: $DIC->skills()->internalSurvey()->repo()->getSurveySkillRepo();
38  }
39 
40  public function removeSurveySkillsForSkill(int $skill_node_id, bool $is_reference = false): void
41  {
42  $this->survey_skill_repo->removeForSkill($skill_node_id, $is_reference);
43  }
44 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
removeSurveySkillsForSkill(int $skill_node_id, bool $is_reference=false)
global $DIC
Definition: feed.php:28
__construct(SurveySkillDBRepository $survey_skill_repo=null)