ILIAS
release_8 Revision v8.19
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
j
l
m
p
s
t
u
+
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
Ö
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
class.InternalDomainService.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
21
namespace
ILIAS\Glossary
;
22
23
use
ILIAS\DI\Container
;
24
use
ILIAS\Glossary\Term\TermManager
;
25
use
ILIAS\Repository\GlobalDICDomainServices
;
26
30
class
InternalDomainService
31
{
32
use
GlobalDICDomainServices
;
33
34
protected
InternalRepoService
$repo_service
;
35
protected
InternalDataService
$data_service
;
36
37
public
function
__construct
(
38
Container
$DIC
,
39
InternalRepoService
$repo_service,
40
InternalDataService
$data_service
41
) {
42
$this->repo_service =
$repo_service
;
43
$this->data_service =
$data_service
;
44
$this->
initDomainServices
($DIC);
45
}
46
47
/*
48
public function access(int $ref_id, int $user_id) : Access\AccessManager
49
{
50
return new Access\AccessManager(
51
$this,
52
$this->access,
53
$ref_id,
54
$user_id
55
);
56
}*/
57
58
public
function
term
(\
ilObjGlossary
$glossary,
int
$user_id = 0):
TermManager
59
{
60
if
($user_id == 0) {
61
$user_id = $this->
user
()->getId();
62
}
63
return
new
TermManager
(
64
$this,
65
$this->repo_service->termSession(),
66
$glossary,
67
$user_id
68
);
69
}
70
}
TermManager
ilObjGlossary
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilObjGlossary.php:22
ILIAS\Glossary\InternalDomainService\__construct
__construct(Container $DIC, InternalRepoService $repo_service, InternalDataService $data_service)
Definition:
class.InternalDomainService.php:37
ILIAS\Repository\initDomainServices
initDomainServices(\ILIAS\DI\Container $DIC)
Definition:
trait.GlobalDICDomainServices.php:36
ILIAS\DI\Container
Customizing of pimple-DIC for ILIAS.
Definition:
Container.php:31
ILIAS\Repository\user
user()
Definition:
trait.GlobalDICDomainServices.php:61
$DIC
global $DIC
Definition:
feed.php:28
Container
ILIAS\Glossary\InternalDomainService
Definition:
class.InternalDomainService.php:30
ILIAS\Repository\GlobalDICDomainServices
trait GlobalDICDomainServices
Definition:
trait.GlobalDICDomainServices.php:33
ILIAS\Glossary\InternalRepoService
Glossary internal repo service.
Definition:
class.InternalRepoService.php:27
ILIAS\Glossary
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ILIAS\Glossary\InternalDomainService\$repo_service
InternalRepoService $repo_service
Definition:
class.InternalDomainService.php:34
ILIAS\Glossary\InternalDomainService\$data_service
InternalDataService $data_service
Definition:
class.InternalDomainService.php:35
ILIAS\Glossary\Term\TermManager
Manages terms.
Definition:
class.TermManager.php:29
ILIAS\Glossary\InternalDataService
Definition:
class.InternalDataService.php:26
ILIAS\Glossary\InternalDomainService\term
term(\ilObjGlossary $glossary, int $user_id=0)
Definition:
class.InternalDomainService.php:58
Modules
Glossary
Service
class.InternalDomainService.php
Generated on Mon Apr 14 2025 22:01:23 for ILIAS by
1.8.13 (using
Doxyfile
)