ILIAS  trunk Revision v11.0_alpha-1831-g8615d53dadb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ReportDto Class Reference
+ Collaboration diagram for ReportDto:

Public Member Functions

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

Private Attributes

array $folder_objects = []
 

Detailed Description

Definition at line 23 of file ReportDto.php.

Constructor & Destructor Documentation

◆ __construct()

ReportDto::__construct ( private readonly int  $user_id)

Definition at line 28 of file ReportDto.php.

29  {
30  }

Member Function Documentation

◆ addFolderObject()

ReportDto::addFolderObject ( FolderDto  $folder_obj)

Definition at line 37 of file ReportDto.php.

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

37  : void
38  {
39  $this->folder_objects[$folder_obj->getFolderId()] = $folder_obj;
40  }
+ Here is the call graph for this function:

◆ getFolderObjectById()

ReportDto::getFolderObjectById ( int  $folder_id)

Definition at line 42 of file ReportDto.php.

References null.

42  : ?FolderDto
43  {
44  return $this->folder_objects[$folder_id] ?? null;
45  }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null

◆ getFolderObjects()

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

Definition at line 50 of file ReportDto.php.

References $folder_objects.

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

50  : array
51  {
52  return $this->folder_objects;
53  }
array $folder_objects
Definition: ReportDto.php:26
+ Here is the caller graph for this function:

◆ getUserId()

ReportDto::getUserId ( )

Definition at line 32 of file ReportDto.php.

References $user_id.

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

32  : int
33  {
34  return $this->user_id;
35  }
+ Here is the caller graph for this function:

Field Documentation

◆ $folder_objects

array ReportDto::$folder_objects = []
private

Definition at line 26 of file ReportDto.php.

Referenced by getFolderObjects().


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