ILIAS  release_7 Revision v7.30-3-g800a261c036
ILIAS\OnScreenChat\DTO\ConversationDto Class Reference
+ Collaboration diagram for ILIAS\OnScreenChat\DTO\ConversationDto:

Public Member Functions

 __construct (string $id)
 ConversationDto constructor. More...
 
 getId ()
 
 setId (string $id)
 
 isGroup ()
 
 setIsGroup (bool $isGroup)
 
 getSubscriberUsrIds ()
 
 setSubscriberUsrIds (array $subscriberUsrIds)
 
 getLastMessage ()
 
 setLastMessage (MessageDto $lastMessage)
 

Private Attributes

 $id = ''
 
 $isGroup = false
 
 $subscriberUsrIds = []
 
 $lastMessage
 

Detailed Description

Definition at line 10 of file ConversationDto.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\OnScreenChat\DTO\ConversationDto::__construct ( string  $id)

ConversationDto constructor.

Parameters
string$id

Definition at line 25 of file ConversationDto.php.

References ILIAS\OnScreenChat\DTO\ConversationDto\$id.

Member Function Documentation

◆ getId()

ILIAS\OnScreenChat\DTO\ConversationDto::getId ( )
Returns
string

Definition at line 33 of file ConversationDto.php.

33 : string
34 {
35 return $this->id;
36 }

References ILIAS\OnScreenChat\DTO\ConversationDto\$id.

◆ getLastMessage()

ILIAS\OnScreenChat\DTO\ConversationDto::getLastMessage ( )

◆ getSubscriberUsrIds()

ILIAS\OnScreenChat\DTO\ConversationDto::getSubscriberUsrIds ( )
Returns
array

Definition at line 65 of file ConversationDto.php.

References ILIAS\OnScreenChat\DTO\ConversationDto\$subscriberUsrIds.

◆ isGroup()

ILIAS\OnScreenChat\DTO\ConversationDto::isGroup ( )
Returns
bool

Definition at line 49 of file ConversationDto.php.

References ILIAS\OnScreenChat\DTO\ConversationDto\$isGroup.

Referenced by ILIAS\OnScreenChat\DTO\ConversationDto\setIsGroup().

+ Here is the caller graph for this function:

◆ setId()

ILIAS\OnScreenChat\DTO\ConversationDto::setId ( string  $id)
Parameters
string$id

Definition at line 41 of file ConversationDto.php.

41 : void
42 {
43 $this->id = $id;
44 }

References ILIAS\OnScreenChat\DTO\ConversationDto\$id.

◆ setIsGroup()

ILIAS\OnScreenChat\DTO\ConversationDto::setIsGroup ( bool  $isGroup)
Parameters
bool$isGroup

Definition at line 57 of file ConversationDto.php.

57 : void
58 {
59 $this->isGroup = $isGroup;
60 }

References ILIAS\OnScreenChat\DTO\ConversationDto\$isGroup, and ILIAS\OnScreenChat\DTO\ConversationDto\isGroup().

+ Here is the call graph for this function:

◆ setLastMessage()

ILIAS\OnScreenChat\DTO\ConversationDto::setLastMessage ( MessageDto  $lastMessage)
Parameters
MessageDto$lastMessage

Definition at line 89 of file ConversationDto.php.

89 : void
90 {
91 $this->lastMessage = $lastMessage;
92 }

References ILIAS\OnScreenChat\DTO\ConversationDto\$lastMessage.

◆ setSubscriberUsrIds()

ILIAS\OnScreenChat\DTO\ConversationDto::setSubscriberUsrIds ( array  $subscriberUsrIds)
Parameters
array$subscriberUsrIds

Definition at line 73 of file ConversationDto.php.

73 : void
74 {
75 $this->subscriberUsrIds = $subscriberUsrIds;
76 }

References ILIAS\OnScreenChat\DTO\ConversationDto\$subscriberUsrIds.

Field Documentation

◆ $id

ILIAS\OnScreenChat\DTO\ConversationDto::$id = ''
private

◆ $isGroup

ILIAS\OnScreenChat\DTO\ConversationDto::$isGroup = false
private

◆ $lastMessage

ILIAS\OnScreenChat\DTO\ConversationDto::$lastMessage
private

◆ $subscriberUsrIds

ILIAS\OnScreenChat\DTO\ConversationDto::$subscriberUsrIds = []
private

The documentation for this class was generated from the following file: