ILIAS  release_8 Revision v8.24
ReportDto Class Reference
+ Collaboration diagram for ReportDto:

Public Member Functions

 __construct (int $user_id)
 
 getUserId ()
 
 addFolderObject (FolderDto $folder_obj)
 
 getFolderObjectById (int $folder_id)
 
 getFolderObjects ()
 

Private Attributes

int $user_id
 
array $folder_objects = []
 

Detailed Description

Definition at line 23 of file ReportDto.php.

Constructor & Destructor Documentation

◆ __construct()

ReportDto::__construct ( int  $user_id)

Definition at line 29 of file ReportDto.php.

30 {
31 $this->user_id = $user_id;
32 }
int $user_id
Definition: ReportDto.php:25

References $user_id.

Member Function Documentation

◆ addFolderObject()

ReportDto::addFolderObject ( FolderDto  $folder_obj)

Definition at line 39 of file ReportDto.php.

39 : void
40 {
41 $this->folder_objects[$folder_obj->getFolderId()] = $folder_obj;
42 }

References ILIAS\Mail\Cron\ExpiredOrOrphanedMails\FolderDto\getFolderId().

+ Here is the call graph for this function:

◆ getFolderObjectById()

ReportDto::getFolderObjectById ( int  $folder_id)

Definition at line 44 of file ReportDto.php.

44 : ?FolderDto
45 {
46 return $this->folder_objects[$folder_id] ?? null;
47 }

◆ getFolderObjects()

ReportDto::getFolderObjects ( )
Returns
array<int, FolderDto>

Definition at line 52 of file ReportDto.php.

52 : array
53 {
55 }
array $folder_objects
Definition: ReportDto.php:27

References $folder_objects.

Referenced by ILIAS\Mail\Cron\ExpiredOrOrphanedMails\Notifier\markAsNotified(), and ILIAS\Mail\Cron\ExpiredOrOrphanedMails\Notifier\sendMail().

+ Here is the caller graph for this function:

◆ getUserId()

ReportDto::getUserId ( )

Definition at line 34 of file ReportDto.php.

34 : int
35 {
36 return $this->user_id;
37 }

References $user_id.

Referenced by ILIAS\Mail\Cron\ExpiredOrOrphanedMails\NotificationsCollector\addCollectionObject(), and ILIAS\Mail\Cron\ExpiredOrOrphanedMails\Notifier\sendMail().

+ Here is the caller graph for this function:

Field Documentation

◆ $folder_objects

array ReportDto::$folder_objects = []
private

Definition at line 27 of file ReportDto.php.

Referenced by getFolderObjects().

◆ $user_id

int ReportDto::$user_id
private

Definition at line 25 of file ReportDto.php.

Referenced by __construct(), and getUserId().


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