ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
ILIAS\Skill\Service\SkillUserService Class Reference

Skill user service. More...

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

Public Member Functions

 __construct (int $user_id, SkillInternalManagerService $manager_service=null)
 
 writeSkillLevel (int $a_level_id, int $a_trigger_ref_id, int $a_tref_id=0, bool $a_self_eval=false, string $a_unique_identifier="", float $a_next_level_fulfilment=0.0)
 
 getProfiles ()
 

Protected Attributes

SkillInternalManagerService $manager_service
 
int $user_id = 0
 

Detailed Description

Skill user service.

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

Definition at line 28 of file class.SkillUserService.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Skill\Service\SkillUserService::__construct ( int  $user_id,
SkillInternalManagerService  $manager_service = null 
)

Definition at line 33 of file class.SkillUserService.php.

References $DIC, ILIAS\Skill\Service\SkillUserService\$manager_service, and ILIAS\Skill\Service\SkillUserService\$user_id.

34  {
35  global $DIC;
36 
37  $this->user_id = $user_id;
38  $this->manager_service = ($manager_service)
39  ?: $DIC->skills()->internal()->manager();
40  }
SkillInternalManagerService $manager_service
global $DIC
Definition: shib_login.php:25

Member Function Documentation

◆ getProfiles()

ILIAS\Skill\Service\SkillUserService::getProfiles ( )

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

63  {
64  // repo for ilSkillProfile needed
65  }

◆ writeSkillLevel()

ILIAS\Skill\Service\SkillUserService::writeSkillLevel ( int  $a_level_id,
int  $a_trigger_ref_id,
int  $a_tref_id = 0,
bool  $a_self_eval = false,
string  $a_unique_identifier = "",
float  $a_next_level_fulfilment = 0.0 
)

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

References ILIAS\Skill\Service\SkillUserService\$user_id.

49  : void {
51  $this->manager_service->getUserLevelManager()->writeSkillLevel(
52  $user_id,
53  $a_level_id,
54  $a_trigger_ref_id,
55  $a_tref_id,
56  $a_self_eval,
57  $a_unique_identifier,
58  $a_next_level_fulfilment
59  );
60  }

Field Documentation

◆ $manager_service

SkillInternalManagerService ILIAS\Skill\Service\SkillUserService::$manager_service
protected

◆ $user_id

int ILIAS\Skill\Service\SkillUserService::$user_id = 0
protected

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