ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
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 31 of file class.SurveySkillDeletionManager.php.

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

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

Member Function Documentation

◆ removeSurveySkillsForSkill()

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

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

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

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: