ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
MailDeliveryData Class Reference
+ Collaboration diagram for MailDeliveryData:

Public Member Functions

 __construct (private readonly string $to, private readonly string $cc, private readonly string $bcc, private readonly string $subject, private readonly string $message, private MailAttachments $attachments, private readonly bool $use_placeholder, private ?int $internal_mail_id=null, private readonly int $user_id=0)
 
 getTo ()
 
 getCc ()
 
 getBcc ()
 
 getSubject ()
 
 getMessage ()
 
 getAttachments ()
 
 getUserId ()
 
 getInternalMailId ()
 
 isUsePlaceholder ()
 
 withInternalMailId (int $internal_mail_id)
 
 withAttachments (MailAttachments $attachments)
 

Detailed Description

Definition at line 23 of file MailDeliveryData.php.

Constructor & Destructor Documentation

◆ __construct()

MailDeliveryData::__construct ( private readonly string  $to,
private readonly string  $cc,
private readonly string  $bcc,
private readonly string  $subject,
private readonly string  $message,
private MailAttachments  $attachments,
private readonly bool  $use_placeholder,
private ?int  $internal_mail_id = null,
private readonly int  $user_id = 0 
)

Definition at line 25 of file MailDeliveryData.php.

35 {
36 }

Member Function Documentation

◆ getAttachments()

MailDeliveryData::getAttachments ( )

Definition at line 63 of file MailDeliveryData.php.

64 {
65 return $this->attachments;
66 }

Referenced by ilMail\sendChanneledMails().

+ Here is the caller graph for this function:

◆ getBcc()

MailDeliveryData::getBcc ( )

Definition at line 48 of file MailDeliveryData.php.

48 : string
49 {
50 return $this->bcc;
51 }

Referenced by ilMail\distributeMail().

+ Here is the caller graph for this function:

◆ getCc()

MailDeliveryData::getCc ( )

Definition at line 43 of file MailDeliveryData.php.

43 : string
44 {
45 return $this->cc;
46 }

Referenced by ilMail\distributeMail(), and ilMail\sendChanneledMails().

+ Here is the caller graph for this function:

◆ getInternalMailId()

MailDeliveryData::getInternalMailId ( )

Definition at line 73 of file MailDeliveryData.php.

73 : ?int
74 {
75 return $this->internal_mail_id;
76 }

Referenced by ilMail\sendChanneledMails().

+ Here is the caller graph for this function:

◆ getMessage()

MailDeliveryData::getMessage ( )

Definition at line 58 of file MailDeliveryData.php.

58 : string
59 {
60 return $this->message;
61 }

References $message.

Referenced by ilMail\sendMailWithReplacedPlaceholder().

+ Here is the caller graph for this function:

◆ getSubject()

MailDeliveryData::getSubject ( )

Definition at line 53 of file MailDeliveryData.php.

53 : string
54 {
55 return $this->subject;
56 }

Referenced by ilMail\sendChanneledMails().

+ Here is the caller graph for this function:

◆ getTo()

MailDeliveryData::getTo ( )

Definition at line 38 of file MailDeliveryData.php.

38 : string
39 {
40 return $this->to;
41 }

Referenced by ilMail\distributeMail(), and ilMail\sendChanneledMails().

+ Here is the caller graph for this function:

◆ getUserId()

MailDeliveryData::getUserId ( )

Definition at line 68 of file MailDeliveryData.php.

68 : int
69 {
70 return $this->user_id;
71 }

References $user_id.

◆ isUsePlaceholder()

MailDeliveryData::isUsePlaceholder ( )

Definition at line 78 of file MailDeliveryData.php.

78 : bool
79 {
80 return $this->use_placeholder;
81 }

Referenced by ilMail\distributeMail().

+ Here is the caller graph for this function:

◆ withAttachments()

MailDeliveryData::withAttachments ( MailAttachments  $attachments)

Definition at line 91 of file MailDeliveryData.php.

92 {
93 $clone = clone $this;
94 $clone->attachments = $attachments;
95 return $clone;
96 }

◆ withInternalMailId()

MailDeliveryData::withInternalMailId ( int  $internal_mail_id)

Definition at line 83 of file MailDeliveryData.php.

84 {
85 $clone = clone $this;
86 $clone->internal_mail_id = $internal_mail_id;
87
88 return $clone;
89 }

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