ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
All Data Structures Namespaces Files Functions Variables 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 ()
 

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 28 of file class.SkillInternalRepoService.php.

Constructor & Destructor Documentation

◆ __construct()

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

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

References ILIAS\Skill\Service\SkillInternalRepoService\$factory.

33  {
34  $this->factory = $factory;
35  }

Member Function Documentation

◆ getLevelRepo()

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

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

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

38  {
39  return new \ilSkillLevelDBRepository($this->getTreeRepo());
40  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
+ Here is the call graph for this function:

◆ getProfileCompletionRepo()

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

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

72  : Profile\SkillProfileCompletionDBRepository
73  {
74  return new Profile\SkillProfileCompletionDBRepository();
75  }

◆ getProfileLevelsRepo()

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

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

57  : Profile\SkillProfileLevelsDBRepository
58  {
59  return new Profile\SkillProfileLevelsDBRepository();
60  }

◆ getProfileRepo()

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

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

52  : Profile\SkillProfileDBRepository
53  {
54  return new Profile\SkillProfileDBRepository();
55  }

◆ getProfileRoleRepo()

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

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

67  : Profile\SkillProfileRoleDBRepository
68  {
69  return new Profile\SkillProfileRoleDBRepository();
70  }

◆ getProfileUserRepo()

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

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

62  : Profile\SkillProfileUserDBRepository
63  {
64  return new Profile\SkillProfileUserDBRepository();
65  }

◆ getTreeRepo()

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

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

Referenced by ILIAS\Skill\Service\SkillInternalRepoService\getLevelRepo().

48  {
49  return new \ilSkillTreeDBRepository($this->factory->tree());
50  }
Interface ilSkillTreeRepository.
+ Here is the caller graph for this function:

◆ getUserLevelRepo()

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

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

43  {
44  return new \ilSkillUserLevelDBRepository();
45  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

Field Documentation

◆ $factory

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

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