ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ 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
p
r
s
t
w
+
Functions
_
a
b
c
f
g
h
i
r
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
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
q
r
s
t
u
v
w
x
z
+
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
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
ConversationDto.php
Go to the documentation of this file.
1
<?php declare(strict_types=1);
2
/* Copyright (c) 1998-2019 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
namespace
ILIAS\OnScreenChat\DTO
;
5
10
class
ConversationDto
11
{
13
private
$id
=
''
;
15
private
$isGroup
=
false
;
17
private
$subscriberUsrIds
= [];
19
private
$lastMessage
;
20
25
public
function
__construct
(
string
$id
)
26
{
27
$this->
id
=
$id
;
28
}
29
33
public
function
getId
() : string
34
{
35
return
$this->id
;
36
}
37
41
public
function
setId
(
string
$id
) : void
42
{
43
$this->
id
=
$id
;
44
}
45
49
public
function
isGroup
() : bool
50
{
51
return
$this->isGroup
;
52
}
53
57
public
function
setIsGroup
(
bool
$isGroup
) : void
58
{
59
$this->
isGroup
=
$isGroup
;
60
}
61
65
public
function
getSubscriberUsrIds
() : array
66
{
67
return
$this->subscriberUsrIds
;
68
}
69
73
public
function
setSubscriberUsrIds
(array
$subscriberUsrIds
) : void
74
{
75
$this->subscriberUsrIds =
$subscriberUsrIds
;
76
}
77
81
public
function
getLastMessage
() :
MessageDto
82
{
83
return
$this->lastMessage
;
84
}
85
89
public
function
setLastMessage
(
MessageDto
$lastMessage
) : void
90
{
91
$this->lastMessage =
$lastMessage
;
92
}
93
}
ILIAS\OnScreenChat\DTO\ConversationDto
Definition:
ConversationDto.php:10
ILIAS\OnScreenChat\DTO\ConversationDto\$isGroup
$isGroup
Definition:
ConversationDto.php:15
ILIAS\OnScreenChat\DTO\ConversationDto\$subscriberUsrIds
$subscriberUsrIds
Definition:
ConversationDto.php:17
ILIAS\OnScreenChat\DTO\ConversationDto\isGroup
isGroup()
Definition:
ConversationDto.php:49
ILIAS\OnScreenChat\DTO\ConversationDto\$id
$id
Definition:
ConversationDto.php:13
ILIAS\OnScreenChat\DTO\ConversationDto\setLastMessage
setLastMessage(MessageDto $lastMessage)
Definition:
ConversationDto.php:89
ILIAS\OnScreenChat\DTO\ConversationDto\$lastMessage
$lastMessage
Definition:
ConversationDto.php:19
ILIAS\OnScreenChat\DTO\ConversationDto\getSubscriberUsrIds
getSubscriberUsrIds()
Definition:
ConversationDto.php:65
ILIAS\OnScreenChat\DTO\MessageDto
Definition:
MessageDto.php:10
ILIAS\OnScreenChat\DTO
Definition:
ConversationDto.php:4
ILIAS\OnScreenChat\DTO\ConversationDto\setSubscriberUsrIds
setSubscriberUsrIds(array $subscriberUsrIds)
Definition:
ConversationDto.php:73
ILIAS\OnScreenChat\DTO\ConversationDto\getLastMessage
getLastMessage()
Definition:
ConversationDto.php:81
ILIAS\OnScreenChat\DTO\ConversationDto\setIsGroup
setIsGroup(bool $isGroup)
Definition:
ConversationDto.php:57
ILIAS\OnScreenChat\DTO\ConversationDto\__construct
__construct(string $id)
ConversationDto constructor.
Definition:
ConversationDto.php:25
ILIAS\OnScreenChat\DTO\ConversationDto\setId
setId(string $id)
Definition:
ConversationDto.php:41
ILIAS\OnScreenChat\DTO\ConversationDto\getId
getId()
Definition:
ConversationDto.php:33
Services
OnScreenChat
classes
DTO
ConversationDto.php
Generated on Mon Apr 21 2025 21:01:26 for ILIAS by
1.8.13 (using
Doxyfile
)