ILIAS  trunk Revision v11.0_alpha-1831-g8615d53dadb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\Skill\Service\SkillInternalRepoService Class Reference

Skill internal repo service. More...

+ Collaboration diagram for ILIAS\Skill\Service\SkillInternalRepoService:

Public Member Functions

 __construct (SkillInternalFactoryService $factory)
 
 getLevelRepo ()
 
 getUserLevelRepo ()
 
 getTreeRepo ()
 
 getProfileRepo ()
 
 getProfileLevelsRepo ()
 
 getProfileUserRepo ()
 
 getProfileRoleRepo ()
 
 getProfileCompletionRepo ()
 
 getPersonalSkillRepo ()
 
 getAssignedMaterialRepo ()
 
 getResourceRepo ()
 
 getUsageRepo ()
 

Protected Attributes

SkillInternalFactoryService $factory
 

Detailed Description

Skill internal repo service.

Author
famul.nosp@m.a@le.nosp@m.ifos..nosp@m.de

Definition at line 32 of file class.SkillInternalRepoService.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Skill\Service\SkillInternalRepoService::__construct ( SkillInternalFactoryService  $factory)

Definition at line 36 of file class.SkillInternalRepoService.php.

References ILIAS\Skill\Service\SkillInternalRepoService\$factory, and factory().

37  {
38  $this->factory = $factory;
39  }
factory()
+ Here is the call graph for this function:

Member Function Documentation

◆ getAssignedMaterialRepo()

ILIAS\Skill\Service\SkillInternalRepoService::getAssignedMaterialRepo ( )

Definition at line 86 of file class.SkillInternalRepoService.php.

86  : Personal\AssignedMaterialDBRepository
87  {
88  return new Personal\AssignedMaterialDBRepository();
89  }

◆ getLevelRepo()

ILIAS\Skill\Service\SkillInternalRepoService::getLevelRepo ( )

Definition at line 41 of file class.SkillInternalRepoService.php.

References ILIAS\Skill\Service\SkillInternalRepoService\getTreeRepo().

42  {
43  return new \ilSkillLevelDBRepository($this->getTreeRepo());
44  }
Interface ilSkillLevelRepository.
+ Here is the call graph for this function:

◆ getPersonalSkillRepo()

ILIAS\Skill\Service\SkillInternalRepoService::getPersonalSkillRepo ( )

Definition at line 81 of file class.SkillInternalRepoService.php.

References ILIAS\Skill\Service\SkillInternalRepoService\getTreeRepo().

81  : Personal\PersonalSkillDBRepository
82  {
83  return new Personal\PersonalSkillDBRepository($this->getTreeRepo());
84  }
+ Here is the call graph for this function:

◆ getProfileCompletionRepo()

ILIAS\Skill\Service\SkillInternalRepoService::getProfileCompletionRepo ( )

Definition at line 76 of file class.SkillInternalRepoService.php.

76  : Profile\SkillProfileCompletionDBRepository
77  {
78  return new Profile\SkillProfileCompletionDBRepository();
79  }

◆ getProfileLevelsRepo()

ILIAS\Skill\Service\SkillInternalRepoService::getProfileLevelsRepo ( )

Definition at line 61 of file class.SkillInternalRepoService.php.

61  : Profile\SkillProfileLevelsDBRepository
62  {
63  return new Profile\SkillProfileLevelsDBRepository();
64  }

◆ getProfileRepo()

ILIAS\Skill\Service\SkillInternalRepoService::getProfileRepo ( )

Definition at line 56 of file class.SkillInternalRepoService.php.

56  : Profile\SkillProfileDBRepository
57  {
58  return new Profile\SkillProfileDBRepository();
59  }

◆ getProfileRoleRepo()

ILIAS\Skill\Service\SkillInternalRepoService::getProfileRoleRepo ( )

Definition at line 71 of file class.SkillInternalRepoService.php.

71  : Profile\SkillProfileRoleDBRepository
72  {
73  return new Profile\SkillProfileRoleDBRepository();
74  }

◆ getProfileUserRepo()

ILIAS\Skill\Service\SkillInternalRepoService::getProfileUserRepo ( )

Definition at line 66 of file class.SkillInternalRepoService.php.

66  : Profile\SkillProfileUserDBRepository
67  {
68  return new Profile\SkillProfileUserDBRepository();
69  }

◆ getResourceRepo()

ILIAS\Skill\Service\SkillInternalRepoService::getResourceRepo ( )

Definition at line 91 of file class.SkillInternalRepoService.php.

91  : Resource\SkillResourceDBRepository
92  {
93  return new Resource\SkillResourceDBRepository();
94  }

◆ getTreeRepo()

ILIAS\Skill\Service\SkillInternalRepoService::getTreeRepo ( )

Definition at line 51 of file class.SkillInternalRepoService.php.

References factory().

Referenced by ILIAS\Skill\Service\SkillInternalRepoService\getLevelRepo(), and ILIAS\Skill\Service\SkillInternalRepoService\getPersonalSkillRepo().

52  {
53  return new \ilSkillTreeDBRepository($this->factory->tree());
54  }
factory()
Interface ilSkillTreeRepository.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getUsageRepo()

ILIAS\Skill\Service\SkillInternalRepoService::getUsageRepo ( )

Definition at line 96 of file class.SkillInternalRepoService.php.

96  : Usage\SkillUsageDBRepository
97  {
98  return new Usage\SkillUsageDBRepository();
99  }

◆ getUserLevelRepo()

ILIAS\Skill\Service\SkillInternalRepoService::getUserLevelRepo ( )

Definition at line 46 of file class.SkillInternalRepoService.php.

47  {
48  return new \ilSkillUserLevelDBRepository();
49  }
Interface ilSkillUserLevelRepository.

Field Documentation

◆ $factory

SkillInternalFactoryService ILIAS\Skill\Service\SkillInternalRepoService::$factory
protected

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