19 declare(strict_types=1);
35 $this->personal_repo = (
$personal_repo) ?: $DIC->skills()->internal()->repo()->getPersonalSkillRepo();
43 return $this->personal_repo->get($user_id);
48 $this->personal_repo->add($user_id, $skill_node_id);
53 $this->personal_repo->remove($user_id, $skill_node_id);
58 $this->personal_repo->removeAllForUser($user_id);
63 $this->personal_repo->removeAllForSkill($skill_node_id);
removePersonalSkillsForSkill(int $skill_node_id)
Interface Observer Contains several chained tasks and infos about them.
removePersonalSkill(int $user_id, int $skill_node_id)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
__construct(?\ILIAS\Skill\Personal\PersonalSkillDBRepository $personal_repo=null)
removePersonalSkillsForUser(int $user_id)
PersonalSkillDBRepository $personal_repo
getSelectedUserSkills(int $user_id)
addPersonalSkill(int $user_id, int $skill_node_id)