ILIAS  trunk Revision v11.0_alpha-2662-g519ff7d528f
ILIAS\Survey\Skills\SurveySkillDeletionManager Class Reference
+ Collaboration diagram for ILIAS\Survey\Skills\SurveySkillDeletionManager:

Public Member Functions

 __construct (?SurveySkillDBRepository $survey_skill_repo=null)
 
 removeSurveySkillsForSkill (int $skill_node_id, bool $is_reference=false)
 

Protected Attributes

SurveySkillDBRepository $survey_skill_repo
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Survey\Skills\SurveySkillDeletionManager::__construct ( ?SurveySkillDBRepository  $survey_skill_repo = null)

Definition at line 30 of file class.SurveySkillDeletionManager.php.

References $DIC, and ILIAS\Survey\Skills\SurveySkillDeletionManager\$survey_skill_repo.

32  {
33  global $DIC;
34 
35  $this->survey_skill_repo = ($survey_skill_repo)
36  ?: $DIC->skills()->internalSurvey()->repo()->getSurveySkillRepo();
37  }
global $DIC
Definition: shib_login.php:26

Member Function Documentation

◆ removeSurveySkillsForSkill()

ILIAS\Survey\Skills\SurveySkillDeletionManager::removeSurveySkillsForSkill ( int  $skill_node_id,
bool  $is_reference = false 
)

Definition at line 39 of file class.SurveySkillDeletionManager.php.

39  : void
40  {
41  $this->survey_skill_repo->removeForSkill($skill_node_id, $is_reference);
42  }

Field Documentation

◆ $survey_skill_repo

SurveySkillDBRepository ILIAS\Survey\Skills\SurveySkillDeletionManager::$survey_skill_repo
protected

The documentation for this class was generated from the following file: