ILIAS  trunk Revision v11.0_alpha-1749-g1a06bdef097
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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 readonly array $attachments, private readonly bool $use_placeholder, private ?int $internal_mail_id=null)
 
 getTo ()
 
 getCc ()
 
 getBcc ()
 
 getSubject ()
 
 getMessage ()
 
 getAttachments ()
 
 getInternalMailId ()
 
 isUsePlaceholder ()
 
 withInternalMailId (int $internal_mail_id)
 

Detailed Description

Definition at line 21 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 readonly array  $attachments,
private readonly bool  $use_placeholder,
private ?int  $internal_mail_id = null 
)

Definition at line 23 of file MailDeliveryData.php.

32  {
33  }

Member Function Documentation

◆ getAttachments()

MailDeliveryData::getAttachments ( )

Definition at line 60 of file MailDeliveryData.php.

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

60  : array
61  {
62  return $this->attachments;
63  }
+ Here is the caller graph for this function:

◆ getBcc()

MailDeliveryData::getBcc ( )

Definition at line 45 of file MailDeliveryData.php.

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

45  : string
46  {
47  return $this->bcc;
48  }
+ Here is the caller graph for this function:

◆ getCc()

MailDeliveryData::getCc ( )

Definition at line 40 of file MailDeliveryData.php.

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

40  : string
41  {
42  return $this->cc;
43  }
+ Here is the caller graph for this function:

◆ getInternalMailId()

MailDeliveryData::getInternalMailId ( )

Definition at line 65 of file MailDeliveryData.php.

Referenced by ilMail\sendChanneledMails().

65  : ?int
66  {
67  return $this->internal_mail_id;
68  }
+ Here is the caller graph for this function:

◆ getMessage()

MailDeliveryData::getMessage ( )

Definition at line 55 of file MailDeliveryData.php.

References $message.

Referenced by ilMail\sendMail(), ilMail\sendMailWithoutReplacedPlaceholder(), ilMail\sendMailWithReplacedEmptyPlaceholder(), and ilMail\sendMailWithReplacedPlaceholder().

55  : string
56  {
57  return $this->message;
58  }
$message
Definition: xapiexit.php:31
+ Here is the caller graph for this function:

◆ getSubject()

MailDeliveryData::getSubject ( )

Definition at line 50 of file MailDeliveryData.php.

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

50  : string
51  {
52  return $this->subject;
53  }
+ Here is the caller graph for this function:

◆ getTo()

MailDeliveryData::getTo ( )

Definition at line 35 of file MailDeliveryData.php.

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

35  : string
36  {
37  return $this->to;
38  }
+ Here is the caller graph for this function:

◆ isUsePlaceholder()

MailDeliveryData::isUsePlaceholder ( )

Definition at line 70 of file MailDeliveryData.php.

Referenced by ilMail\distributeMail().

70  : bool
71  {
72  return $this->use_placeholder;
73  }
+ Here is the caller graph for this function:

◆ withInternalMailId()

MailDeliveryData::withInternalMailId ( int  $internal_mail_id)

Definition at line 75 of file MailDeliveryData.php.

Referenced by ilMail\sendMail().

76  {
77  $clone = clone $this;
78  $clone->internal_mail_id = $internal_mail_id;
79  return $clone;
80  }
+ Here is the caller graph for this function:

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