ILIAS
trunk Revision v11.0_alpha-1744-gb0451eebef4
◀ 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.DomainService.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Taxonomy
;
22
26
class
DomainService
27
{
28
protected
InternalDomainService
$domain
;
29
30
public
function
__construct
(
31
InternalDomainService
$domain
32
) {
33
$this->domain =
$domain
;
34
}
35
39
public
function
getUsageOfObject
(
int
$obj_id,
bool
$include_titles =
false
): array
40
{
41
return
$this->domain->usage()->getUsageOfObject($obj_id, $include_titles);
42
}
43
44
public
function
isActivated
(
int
$obj_id): bool
45
{
46
return
$this->domain->settings($obj_id)->isActivated();
47
}
48
}
ILIAS\Taxonomy\DomainService
Domain facade.
Definition:
class.DomainService.php:26
ILIAS\Taxonomy
Definition:
class.DomainService.php:21
ILIAS\Taxonomy\DomainService\$domain
InternalDomainService $domain
Definition:
class.DomainService.php:28
ILIAS\Taxonomy\DomainService\getUsageOfObject
getUsageOfObject(int $obj_id, bool $include_titles=false)
Returns the taxonomies (ids or array with id/title) used by a repository object.
Definition:
class.DomainService.php:39
ILIAS\Taxonomy\DomainService\isActivated
isActivated(int $obj_id)
Definition:
class.DomainService.php:44
ILIAS\Taxonomy\InternalDomainService
Definition:
class.InternalDomainService.php:28
ILIAS\Taxonomy\DomainService\__construct
__construct(InternalDomainService $domain)
Definition:
class.DomainService.php:30
components
ILIAS
Taxonomy
Service
class.DomainService.php
Generated on Tue Apr 8 2025 23:03:00 for ILIAS by
1.8.13 (using
Doxyfile
)