ILIAS
trunk Revision v11.0_alpha-1846-g895b5f47236
◀ 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\Style\Content
;
22
23
use
ILIAS\Style\Content\Object\ObjectFacade
;
24
use
ILIAS\Style\Content\Style\StyleManager
;
25
31
class
DomainService
32
{
33
private
InternalService
$internal
;
34
35
public
function
__construct
(
36
InternalService
$internal_service
37
) {
38
$this->
internal
= $internal_service;
39
}
40
41
public
function
styleForObjId
(
int
$obj_id):
ObjectFacade
42
{
43
return
new
ObjectFacade
(
44
$this->internal->data(),
45
$this->
internal
->domain(),
46
0,
47
$obj_id
48
);
49
}
50
51
public
function
styleForRefId
(
int
$ref_id
):
ObjectFacade
52
{
53
return
new
ObjectFacade
(
54
$this->internal->data(),
55
$this->
internal
->domain(),
56
$ref_id
57
);
58
}
59
}
ILIAS\Style\Content
ILIAS\Style\Content\DomainService\$internal
InternalService $internal
Definition:
class.DomainService.php:33
ILIAS\Style\Content\Object\ObjectFacade
External facade for object content styles.
Definition:
class.ObjectFacade.php:31
ObjectFacade
$ref_id
$ref_id
Definition:
ltiauth.php:65
ILIAS\Repository\Deletion\DomainService
Definition:
DomainService.php:27
ILIAS\Style\Content\DomainService\styleForObjId
styleForObjId(int $obj_id)
Definition:
class.DomainService.php:41
ILIAS\Style\Content\DomainService\__construct
__construct(InternalService $internal_service)
Definition:
class.DomainService.php:35
StyleManager
ILIAS\Style\Content\DomainService\styleForRefId
styleForRefId(int $ref_id)
Definition:
class.DomainService.php:51
ILIAS\Style\Content\InternalService
Definition:
class.InternalService.php:25
components
ILIAS
Style
Content
Service
class.DomainService.php
Generated on Mon Apr 21 2025 23:02:28 for ILIAS by
1.8.13 (using
Doxyfile
)