ILIAS
trunk Revision v11.0_alpha-1753-gb21ca8c4367
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
class.SkillUsageService.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Skill\Service
;
22
23
use
ILIAS\Skill\Usage
;
24
28
class
SkillUsageService
29
{
30
protected
Usage\SkillUsageManager
$usage_manager
;
31
32
public
function
__construct
(
SkillInternalService
$internal_service)
33
{
34
$this->usage_manager = $internal_service->
manager
()->getUsageManager();
35
}
36
37
public
function
addUsage
(
int
$obj_id,
int
$skill_id,
int
$tref_id): void
38
{
39
$this->usage_manager->addUsage($obj_id, $skill_id, $tref_id);
40
}
41
42
public
function
removeUsage
(
int
$obj_id,
int
$skill_id,
int
$tref_id): void
43
{
44
$this->usage_manager->removeUsage($obj_id, $skill_id, $tref_id);
45
}
46
}
ILIAS\Skill\Service\SkillUsageService\$usage_manager
Usage SkillUsageManager $usage_manager
Definition:
class.SkillUsageService.php:30
ILIAS\Skill\Service\SkillInternalService\manager
manager()
Definition:
class.SkillInternalService.php:59
ILIAS\Skill\Service\SkillUsageService\removeUsage
removeUsage(int $obj_id, int $skill_id, int $tref_id)
Definition:
class.SkillUsageService.php:42
ILIAS\Skill\Service\SkillUsageService
Definition:
class.SkillUsageService.php:28
ILIAS\Skill\Usage
Definition:
class.SkillUsageDBRepository.php:21
ILIAS\Skill\Usage\SkillUsageManager
Skill usage.
Definition:
class.SkillUsageManager.php:45
ILIAS\Skill\Service\SkillUsageService\__construct
__construct(SkillInternalService $internal_service)
Definition:
class.SkillUsageService.php:32
ILIAS\Skill\Service
Definition:
class.SkillAdminGUIRequest.php:21
ILIAS\Skill\Service\SkillInternalService
Skill internal service.
Definition:
class.SkillInternalService.php:30
ILIAS\Skill\Service\SkillUsageService\addUsage
addUsage(int $obj_id, int $skill_id, int $tref_id)
Definition:
class.SkillUsageService.php:37
components
ILIAS
Skill
Service
classes
class.SkillUsageService.php
Generated on Thu Apr 10 2025 23:03:58 for ILIAS by
1.8.13 (using
Doxyfile
)