ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
class.SkillInternalRepoService.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
22 namespace ILIAS\Skill\Service;
23 
28 
34 {
36 
37  public function __construct(SkillInternalFactoryService $factory)
38  {
39  $this->factory = $factory;
40  }
41 
43  {
44  return new \ilSkillLevelDBRepository($this->getTreeRepo());
45  }
46 
48  {
49  return new \ilSkillUserLevelDBRepository();
50  }
51 
52  public function getTreeRepo(): \ilSkillTreeRepository
53  {
54  return new \ilSkillTreeDBRepository($this->factory->tree());
55  }
56 
57  public function getProfileRepo(): Profile\SkillProfileDBRepository
58  {
60  }
61 
63  {
65  }
66 
68  {
70  }
71 
73  {
75  }
76 
78  {
80  }
81 
82  public function getPersonalSkillRepo(): Personal\PersonalSkillDBRepository
83  {
85  }
86 
88  {
90  }
91 
92  public function getResourceRepo(): Resource\SkillResourceDBRepository
93  {
95  }
96 
97  public function getUsageRepo(): Usage\SkillUsageDBRepository
98  {
99  return new Usage\SkillUsageDBRepository();
100  }
101 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...