ILIAS  trunk Revision v11.0_alpha-1831-g8615d53dadb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\Skill\Service\SkillUsageService Class Reference
+ Collaboration diagram for ILIAS\Skill\Service\SkillUsageService:

Public Member Functions

 __construct (SkillInternalService $internal_service)
 
 addUsage (int $obj_id, int $skill_id, int $tref_id)
 
 removeUsage (int $obj_id, int $skill_id, int $tref_id)
 

Protected Attributes

Usage SkillUsageManager $usage_manager
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Skill\Service\SkillUsageService::__construct ( SkillInternalService  $internal_service)

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

References ILIAS\Skill\Service\SkillInternalService\manager().

33  {
34  $this->usage_manager = $internal_service->manager()->getUsageManager();
35  }
+ Here is the call graph for this function:

Member Function Documentation

◆ addUsage()

ILIAS\Skill\Service\SkillUsageService::addUsage ( int  $obj_id,
int  $skill_id,
int  $tref_id 
)

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

37  : void
38  {
39  $this->usage_manager->addUsage($obj_id, $skill_id, $tref_id);
40  }

◆ removeUsage()

ILIAS\Skill\Service\SkillUsageService::removeUsage ( int  $obj_id,
int  $skill_id,
int  $tref_id 
)

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

42  : void
43  {
44  $this->usage_manager->removeUsage($obj_id, $skill_id, $tref_id);
45  }

Field Documentation

◆ $usage_manager

Usage SkillUsageManager ILIAS\Skill\Service\SkillUsageService::$usage_manager
protected

Definition at line 30 of file class.SkillUsageService.php.


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