ILIAS  trunk Revision v11.0_alpha-1851-ga8564da6fed
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilMailNotification Class Reference

Base class for course/group mail notifications. More...

+ Inheritance diagram for ilMailNotification:
+ Collaboration diagram for ilMailNotification:

Public Member Functions

 __construct (protected bool $is_in_wsp=false)
 
 setType (int $a_type)
 
 getType ()
 
 setSender (int $a_usr_id)
 
 getSender ()
 
 setRecipients (array $a_rcp)
 
 getRecipients ()
 
 setAttachments (array $a_att)
 
 getAttachments ()
 
 setLangModules (array $a_modules)
 
 getUserLanguage (int $a_usr_id)
 
 setRefId (int $a_id)
 
 getRefId ()
 
 getObjId ()
 
 setObjId (int $a_obj_id)
 
 getObjType ()
 
 setAdditionalInformation (array $a_info)
 
 getAdditionalInformation ()
 
 sendMail (array $a_rcp, bool $a_parse_recipients=true)
 
 getBlockBorder ()
 

Data Fields

final const SUBJECT_TITLE_LENGTH = 60
 

Protected Member Functions

 setSubject (string $a_subject)
 
 getSubject ()
 
 setBody (string $a_body)
 
 appendBody (string $a_body)
 
 getBody ()
 
 initLanguage (int $a_usr_id)
 
 initLanguageByIso2Code (string $a_code='')
 
 setLanguage (ilLanguage $a_language)
 
 getLanguage ()
 
 getLanguageText (string $a_keyword)
 
 getObjectTitle (bool $a_shorten=false)
 
 initMail ()
 
 getMail ()
 
 createPermanentLink (array $a_params=[], string $a_append='')
 
 userToString (int $a_usr_id)
 
 isRefIdAccessible (int $a_user_id, int $a_ref_id, string $a_permission="read")
 

Protected Attributes

int $type
 
int $sender
 
ilMail $mail = null
 
string $subject = ''
 
string $body = ''
 
array $attachments = []
 
ilLanguage $language
 
array $lang_modules = []
 
array $recipients = []
 
int $ref_id
 
int $obj_id = 0
 
string $obj_type = ''
 
array $additional_info = []
 
ilWorkspaceTree $wsp_tree
 
ilWorkspaceAccessHandler $wsp_access_handler
 

Detailed Description

Base class for course/group mail notifications.

Author
Stefan Meyer smeye.nosp@m.r.il.nosp@m.ias@g.nosp@m.mx.d.nosp@m.e

Definition at line 26 of file class.ilMailNotification.php.

Constructor & Destructor Documentation

◆ __construct()

ilMailNotification::__construct ( protected bool  $is_in_wsp = false)

Definition at line 46 of file class.ilMailNotification.php.

References $DIC, ilLanguageFactory\_getLanguage(), ANONYMOUS_USER_ID, ILIAS\UI\examples\Symbol\Glyph\Language\language(), and setSender().

47  {
48  global $DIC;
50  $this->language = ilLanguageFactory::_getLanguage($DIC->language()->getDefaultLanguage());
51 
52  if ($this->is_in_wsp) {
53  $this->wsp_tree = new ilWorkspaceTree($DIC->user()->getId()); // owner of tree is irrelevant
54  $this->wsp_access_handler = new ilWorkspaceAccessHandler($this->wsp_tree);
55  }
56  }
const ANONYMOUS_USER_ID
Definition: constants.php:27
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
global $DIC
Definition: shib_login.php:22
static _getLanguage(string $a_lang_key='')
Get language object.
language()
description: > Example for rendring a language glyph.
Definition: language.php:41
+ Here is the call graph for this function:

Member Function Documentation

◆ appendBody()

ilMailNotification::appendBody ( string  $a_body)
protected

Definition at line 97 of file class.ilMailNotification.php.

Referenced by ilForumMailNotification\addLinkToMail(), ilExerciseMailNotification\addOpenSubmission(), ilCalendarMailNotification\appendAppointmentDetails(), ilForumMailNotification\appendAttachments(), ILIAS\Portfolio\Notification\SharedNotification\appendObjectInformation(), ilTestManScoringParticipantNotification\buildBody(), ilSystemNotification\compose(), ilForumMailNotification\createMail(), ilCronDeleteInactiveUserReminderMailNotification\initLanguage(), ilRegistrationMailNotification\send(), ILIAS\Portfolio\Notification\SharedNotification\send(), ILIAS\Mail\Autoresponder\AutoresponderNotification\send(), ilMailSummaryNotification\send(), ilLMMailNotification\send(), ILIAS\Mail\Cron\ExpiredOrOrphanedMails\MailNotification\send(), ilSessionMembershipMailNotification\send(), ilLearningSequenceMembershipMailNotification\send(), ilIndividualAssessmentPrimitiveInternalNotificator\send(), ilCalendarMailNotification\send(), ilExerciseMailNotification\send(), ilCourseMembershipMailNotification\send(), ilGroupMembershipMailNotification\send(), ilTestMailNotification\sendAdvancedNotification(), ILIAS\User\Profile\ChangeMailMail\sendEmailToExistingAddress(), ILIAS\User\Profile\ChangeMailMail\sendEmailToNewEmailAddress(), ilExerciseMailNotification\sendExerciseNotification(), ILIAS\LegalDocuments\ConsumerToolbox\Mail\sendGeneric(), ilAccountRegistrationMail\sendLanguageVariableBasedAccountMail(), and ilTestMailNotification\sendSimpleNotification().

97  : string
98  {
99  return $this->body .= $a_body;
100  }
+ Here is the caller graph for this function:

◆ createPermanentLink()

ilMailNotification::createPermanentLink ( array  $a_params = [],
string  $a_append = '' 
)
protected

Definition at line 264 of file class.ilMailNotification.php.

References ilWorkspaceAccessHandler\getGotoLink(), getObjId(), getObjType(), getRefId(), and ROOT_FOLDER_ID.

Referenced by ilSystemNotification\compose(), ilLMMailNotification\send(), ilSessionMembershipMailNotification\send(), ilLearningSequenceMembershipMailNotification\send(), ilIndividualAssessmentPrimitiveInternalNotificator\send(), ilCalendarMailNotification\send(), ilCourseMembershipMailNotification\send(), and ilGroupMembershipMailNotification\send().

264  : ?string
265  {
266  if ($this->getRefId() !== 0) {
267  if (!$this->is_in_wsp) {
268  return ilLink::_getLink($this->ref_id, $this->getObjType(), $a_params, $a_append);
269  }
270  return ilWorkspaceAccessHandler::getGotoLink($this->getRefId(), $this->getObjId(), $a_append);
271  }
272  return ilLink::_getLink(ROOT_FOLDER_ID, 'root');
273  }
const ROOT_FOLDER_ID
Definition: constants.php:32
static getGotoLink(int $a_node_id, int $a_obj_id, string $a_additional="")
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getAdditionalInformation()

◆ getAttachments()

ilMailNotification::getAttachments ( )

Definition at line 122 of file class.ilMailNotification.php.

References $attachments.

Referenced by ilCalendarMailNotification\deleteAttachments(), and sendMail().

122  : array
123  {
124  return $this->attachments;
125  }
+ Here is the caller graph for this function:

◆ getBlockBorder()

ilMailNotification::getBlockBorder ( )

Definition at line 317 of file class.ilMailNotification.php.

Referenced by ilSystemNotification\compose().

317  : string
318  {
319  return "----------------------------------------\n";
320  }
+ Here is the caller graph for this function:

◆ getBody()

ilMailNotification::getBody ( )
protected

Definition at line 102 of file class.ilMailNotification.php.

References $body.

Referenced by ilMailSummaryNotification\send(), sendMail(), and ilMimeMailNotification\sendMimeMail().

102  : string
103  {
104  return $this->body;
105  }
+ Here is the caller graph for this function:

◆ getLanguage()

ilMailNotification::getLanguage ( )
protected

Definition at line 164 of file class.ilMailNotification.php.

References $language.

Referenced by ilTestManScoringParticipantNotification\__construct(), ILIAS\Portfolio\Notification\SharedNotification\appendObjectInformation(), ilTestManScoringParticipantNotification\buildBody(), ILIAS\Mail\Cron\ExpiredOrOrphanedMails\MailNotification\buildFolderTitle(), ilSystemNotification\compose(), ilForumMailNotification\createMail(), ilForumMailEventNotificationSender\createMailBodyText(), getLanguageText(), ilCronDeleteInactiveUserReminderMailNotification\initLanguage(), ilMimeMailNotification\initLanguage(), ilLMMailNotification\initLanguage(), ilRegistrationMailNotification\initLanguage(), ILIAS\Portfolio\Notification\SharedNotification\initLanguage(), ilSessionMembershipMailNotification\initLanguage(), ilExerciseMailNotification\initLanguage(), ilLearningSequenceMembershipMailNotification\initLanguage(), ilGroupMembershipMailNotification\initLanguage(), ilCourseMembershipMailNotification\initLanguage(), ILIAS\Mail\Cron\ExpiredOrOrphanedMails\MailNotification\initLanguageByIso2Code(), ilMimeMailNotification\initLanguageByIso2Code(), ilRegistrationMailNotification\send(), ILIAS\Portfolio\Notification\SharedNotification\send(), ILIAS\Mail\Autoresponder\AutoresponderNotification\send(), ilMailSummaryNotification\send(), ilLMMailNotification\send(), ILIAS\Mail\Cron\ExpiredOrOrphanedMails\MailNotification\send(), ilSessionMembershipMailNotification\send(), ilLearningSequenceMembershipMailNotification\send(), ilIndividualAssessmentPrimitiveInternalNotificator\send(), ilCalendarMailNotification\send(), ilExerciseMailNotification\send(), ilCourseMembershipMailNotification\send(), ilGroupMembershipMailNotification\send(), ilTestMailNotification\sendAdvancedNotification(), ilExerciseMailNotification\sendExerciseNotification(), and ilTestMailNotification\sendSimpleNotification().

164  : ilLanguage
165  {
166  return $this->language;
167  }
+ Here is the caller graph for this function:

◆ getLanguageText()

ilMailNotification::getLanguageText ( string  $a_keyword)
protected

Definition at line 169 of file class.ilMailNotification.php.

References getLanguage().

Referenced by ilForumMailNotification\addMailSubject(), ilExerciseMailNotification\addOpenSubmission(), ilForumMailNotification\appendAttachments(), ilTestManScoringParticipantNotification\buildBody(), ilTestManScoringParticipantNotification\buildSubject(), ilSystemNotification\compose(), ilForumMailEventNotificationSender\createAttachmentText(), ilCourseMembershipMailNotification\createCourseStatus(), ilGroupMembershipMailNotification\createGroupStatus(), ilLearningSequenceMembershipMailNotification\createLearningSequenceStatus(), ilForumMailNotification\createMail(), ilForumMailEventNotificationSender\createMailBodyText(), ilForumMailEventNotificationSender\createSubjectText(), ilForumMailNotification\getPermanentLink(), ilForumMailEventNotificationSender\getPermanentLink(), ilRegistrationMailNotification\send(), ILIAS\Portfolio\Notification\SharedNotification\send(), ILIAS\Mail\Autoresponder\AutoresponderNotification\send(), ilMailSummaryNotification\send(), ilLMMailNotification\send(), ilSessionMembershipMailNotification\send(), ilLearningSequenceMembershipMailNotification\send(), ilForumMailEventNotificationSender\send(), ilIndividualAssessmentPrimitiveInternalNotificator\send(), ilForumMailNotification\send(), ilCalendarMailNotification\send(), ilExerciseMailNotification\send(), ilCourseMembershipMailNotification\send(), ilGroupMembershipMailNotification\send(), and ilExerciseMailNotification\sendExerciseNotification().

169  : string
170  {
171  return str_replace('\n', "\n", $this->getLanguage()->txt($a_keyword));
172  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getMail()

◆ getObjectTitle()

ilMailNotification::getObjectTitle ( bool  $a_shorten = false)
protected

Definition at line 218 of file class.ilMailNotification.php.

References $txt, ilObject\_lookupTitle(), getObjId(), and ilStr\shortenTextExtended().

Referenced by ilSystemNotification\compose(), ILIAS\Portfolio\Notification\SharedNotification\send(), ilLMMailNotification\send(), ilSessionMembershipMailNotification\send(), ilLearningSequenceMembershipMailNotification\send(), ilCalendarMailNotification\send(), ilExerciseMailNotification\send(), ilCourseMembershipMailNotification\send(), ilGroupMembershipMailNotification\send(), and ilExerciseMailNotification\sendExerciseNotification().

218  : string
219  {
220  if ($this->getObjId() === 0) {
221  return '';
222  }
224  if ($a_shorten) {
225  $txt = ilStr::shortenTextExtended($txt, self::SUBJECT_TITLE_LENGTH, true);
226  }
227  return $txt;
228  }
static _lookupTitle(int $obj_id)
$txt
Definition: error.php:31
static shortenTextExtended(string $a_str, int $a_len, bool $a_dots=false, bool $a_next_blank=false, bool $a_keep_extension=false)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getObjId()

◆ getObjType()

ilMailNotification::getObjType ( )

Definition at line 203 of file class.ilMailNotification.php.

References $obj_type.

Referenced by ilSystemNotification\compose(), createPermanentLink(), and isRefIdAccessible().

203  : string
204  {
205  return $this->obj_type;
206  }
+ Here is the caller graph for this function:

◆ getRecipients()

◆ getRefId()

◆ getSender()

ilMailNotification::getSender ( )

Definition at line 73 of file class.ilMailNotification.php.

References $sender.

Referenced by ilCalendarMailNotification\addAttachment(), ilCalendarMailNotification\deleteAttachments(), and initMail().

73  : int
74  {
75  return $this->sender;
76  }
+ Here is the caller graph for this function:

◆ getSubject()

ilMailNotification::getSubject ( )
protected

Definition at line 87 of file class.ilMailNotification.php.

References $subject.

Referenced by ilMailSummaryNotification\send(), sendMail(), and ilMimeMailNotification\sendMimeMail().

87  : string
88  {
89  return $this->subject;
90  }
+ Here is the caller graph for this function:

◆ getType()

◆ getUserLanguage()

ilMailNotification::getUserLanguage ( int  $a_usr_id)

Definition at line 137 of file class.ilMailNotification.php.

References $language, ilLanguageFactory\_getLanguageOfUser(), and ilLanguage\loadLanguageModule().

Referenced by initLanguage().

137  : ilLanguage
138  {
140  $language->loadLanguageModule('mail');
141 
142  foreach ($this->lang_modules as $lmod) {
144  }
145 
146  return $language;
147  }
loadLanguageModule(string $a_module)
Load language module.
static _getLanguageOfUser(int $a_usr_id)
Get language object of user.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ initLanguage()

ilMailNotification::initLanguage ( int  $a_usr_id)
protected

◆ initLanguageByIso2Code()

ilMailNotification::initLanguageByIso2Code ( string  $a_code = '')
protected

Definition at line 149 of file class.ilMailNotification.php.

References ilLanguageFactory\_getLanguage(), and ILIAS\UI\examples\Symbol\Glyph\Language\language().

149  : void
150  {
151  $this->language = ilLanguageFactory::_getLanguage($a_code);
152  $this->language->loadLanguageModule('mail');
153 
154  foreach ($this->lang_modules as $lmod) {
155  $this->language->loadLanguageModule($lmod);
156  }
157  }
static _getLanguage(string $a_lang_key='')
Get language object.
language()
description: > Example for rendring a language glyph.
Definition: language.php:41
+ Here is the call graph for this function:

◆ initMail()

◆ isRefIdAccessible()

ilMailNotification::isRefIdAccessible ( int  $a_user_id,
int  $a_ref_id,
string  $a_permission = "read" 
)
protected

Definition at line 283 of file class.ilMailNotification.php.

References $DIC, and getObjType().

Referenced by ilSystemNotification\compose().

283  : bool
284  {
285  global $DIC;
286 
287  // no given permission == accessible
288 
289  if (!$this->is_in_wsp) {
290  if (trim($a_permission) &&
291  !$DIC->access()->checkAccessOfUser(
292  $a_user_id,
293  $a_permission,
294  "",
295  $a_ref_id,
296  $this->getObjType()
297  )) {
298  return false;
299  }
300  } elseif (
301  trim($a_permission) &&
302  !$this->wsp_access_handler->checkAccessOfUser(
303  $this->wsp_tree,
304  $a_user_id,
305  $a_permission,
306  "",
307  $a_ref_id,
308  $this->getObjType()
309  )
310  ) {
311  return false;
312  }
313 
314  return true;
315  }
global $DIC
Definition: shib_login.php:22
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ sendMail()

ilMailNotification::sendMail ( array  $a_rcp,
bool  $a_parse_recipients = true 
)

Definition at line 230 of file class.ilMailNotification.php.

References ilObjUser\_lookupLogin(), ilLogLevel\ERROR, getAttachments(), getBody(), ilLoggerFactory\getLogger(), getMail(), and getSubject().

Referenced by ilSystemNotification\composeAndSendMail(), ilRegistrationMailNotification\send(), ilTestManScoringParticipantNotification\send(), ILIAS\Portfolio\Notification\SharedNotification\send(), ILIAS\Mail\Autoresponder\AutoresponderNotification\send(), ilLMMailNotification\send(), ilSessionMembershipMailNotification\send(), ilLearningSequenceMembershipMailNotification\send(), ilIndividualAssessmentPrimitiveInternalNotificator\send(), ilCalendarMailNotification\send(), ilExerciseMailNotification\send(), ilCourseMembershipMailNotification\send(), ilGroupMembershipMailNotification\send(), ilTestMailNotification\sendAdvancedNotification(), ilExerciseMailNotification\sendExerciseNotification(), and ilTestMailNotification\sendSimpleNotification().

230  : void
231  {
232  $recipients = [];
233  foreach ($a_rcp as $rcp) {
234  if ($a_parse_recipients) {
235  $recipients[] = ilObjUser::_lookupLogin((int) $rcp);
236  } else {
237  $recipients[] = $rcp;
238  }
239  }
240  $recipients = implode(',', $recipients);
241  $errors = $this->getMail()->enqueue(
242  $recipients,
243  '',
244  '',
245  $this->getSubject(),
246  $this->getBody(),
247  $this->getAttachments()
248  );
249  if ($errors !== []) {
250  ilLoggerFactory::getLogger('mail')->dump($errors, ilLogLevel::ERROR);
251  }
252  }
static getLogger(string $a_component_id)
Get component logger.
static _lookupLogin(int $a_user_id)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setAdditionalInformation()

ilMailNotification::setAdditionalInformation ( array  $a_info)

Definition at line 208 of file class.ilMailNotification.php.

208  : void
209  {
210  $this->additional_info = $a_info;
211  }

◆ setAttachments()

ilMailNotification::setAttachments ( array  $a_att)

Definition at line 117 of file class.ilMailNotification.php.

Referenced by ilCalendarMailNotification\addAttachment(), ilForumMailNotification\appendAttachments(), and ilTestMailNotification\sendAdvancedNotification().

117  : void
118  {
119  $this->attachments = $a_att;
120  }
+ Here is the caller graph for this function:

◆ setBody()

◆ setLangModules()

ilMailNotification::setLangModules ( array  $a_modules)

Definition at line 127 of file class.ilMailNotification.php.

Referenced by ilIndividualAssessmentPrimitiveInternalNotificator\__construct().

127  : void
128  {
129  $this->lang_modules = $a_modules;
130  }
+ Here is the caller graph for this function:

◆ setLanguage()

ilMailNotification::setLanguage ( ilLanguage  $a_language)
protected

Definition at line 159 of file class.ilMailNotification.php.

References ILIAS\UI\examples\Symbol\Glyph\Language\language().

Referenced by ilCalendarMailNotification\send().

159  : void
160  {
161  $this->language = $a_language;
162  }
language()
description: > Example for rendring a language glyph.
Definition: language.php:41
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setObjId()

ilMailNotification::setObjId ( int  $a_obj_id)

Definition at line 197 of file class.ilMailNotification.php.

References ilObject\_lookupType().

Referenced by setRefId().

197  : void
198  {
199  $this->obj_id = $a_obj_id;
200  $this->obj_type = ilObject::_lookupType($this->obj_id);
201  }
static _lookupType(int $id, bool $reference=false)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setRecipients()

ilMailNotification::setRecipients ( array  $a_rcp)

Definition at line 107 of file class.ilMailNotification.php.

Referenced by ILIAS\Mail\Autoresponder\AutoresponderNotification\__construct(), ilMailSummaryNotification\send(), and ilTestManScoringParticipantNotification\setRecipient().

107  : void
108  {
109  $this->recipients = $a_rcp;
110  }
+ Here is the caller graph for this function:

◆ setRefId()

ilMailNotification::setRefId ( int  $a_id)

Definition at line 174 of file class.ilMailNotification.php.

References ilObject\_lookupObjId(), getRefId(), and setObjId().

Referenced by ilTestManScoringParticipantNotification\__construct().

174  : void
175  {
176  if (!$this->is_in_wsp) {
177  $this->ref_id = $a_id;
178  $obj_id = ilObject::_lookupObjId($this->ref_id);
179  } else {
180  $this->ref_id = $a_id;
181  $obj_id = $this->wsp_tree->lookupObjectId($this->getRefId());
182  }
183 
184  $this->setObjId($obj_id);
185  }
static _lookupObjId(int $ref_id)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setSender()

ilMailNotification::setSender ( int  $a_usr_id)

Definition at line 68 of file class.ilMailNotification.php.

Referenced by ILIAS\Mail\Autoresponder\AutoresponderNotification\__construct(), and __construct().

68  : void
69  {
70  $this->sender = $a_usr_id;
71  }
+ Here is the caller graph for this function:

◆ setSubject()

◆ setType()

ilMailNotification::setType ( int  $a_type)

Definition at line 58 of file class.ilMailNotification.php.

58  : void
59  {
60  $this->type = $a_type;
61  }

◆ userToString()

ilMailNotification::userToString ( int  $a_usr_id)
protected

Definition at line 275 of file class.ilMailNotification.php.

References ilObjUser\_lookupName().

Referenced by ilSessionMembershipMailNotification\send(), ilLearningSequenceMembershipMailNotification\send(), ilCourseMembershipMailNotification\send(), and ilGroupMembershipMailNotification\send().

275  : string
276  {
277  $name = ilObjUser::_lookupName($a_usr_id);
278  return ($name['title'] ? $name['title'] . ' ' : '') .
279  ($name['firstname'] ? $name['firstname'] . ' ' : '') .
280  ($name['lastname'] ? $name['lastname'] . ' ' : '');
281  }
static _lookupName(int $a_user_id)
lookup user name
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ $additional_info

array ilMailNotification::$additional_info = []
protected

Definition at line 42 of file class.ilMailNotification.php.

Referenced by getAdditionalInformation().

◆ $attachments

array ilMailNotification::$attachments = []
protected

Definition at line 35 of file class.ilMailNotification.php.

Referenced by getAttachments().

◆ $body

◆ $lang_modules

array ilMailNotification::$lang_modules = []
protected

Definition at line 37 of file class.ilMailNotification.php.

◆ $language

ilLanguage ilMailNotification::$language
protected

Definition at line 36 of file class.ilMailNotification.php.

Referenced by getLanguage(), and getUserLanguage().

◆ $mail

◆ $obj_id

int ilMailNotification::$obj_id = 0
protected

◆ $obj_type

string ilMailNotification::$obj_type = ''
protected

Definition at line 41 of file class.ilMailNotification.php.

Referenced by getObjType().

◆ $recipients

array ilMailNotification::$recipients = []
protected

Definition at line 38 of file class.ilMailNotification.php.

Referenced by getRecipients().

◆ $ref_id

int ilMailNotification::$ref_id
protected

Definition at line 39 of file class.ilMailNotification.php.

Referenced by ilSystemNotification\compose(), and getRefId().

◆ $sender

int ilMailNotification::$sender
protected

Definition at line 31 of file class.ilMailNotification.php.

Referenced by getSender(), and ilMailSummaryNotification\send().

◆ $subject

string ilMailNotification::$subject = ''
protected

◆ $type

◆ $wsp_access_handler

ilWorkspaceAccessHandler ilMailNotification::$wsp_access_handler
protected

Definition at line 44 of file class.ilMailNotification.php.

◆ $wsp_tree

ilWorkspaceTree ilMailNotification::$wsp_tree
protected

Definition at line 43 of file class.ilMailNotification.php.

◆ SUBJECT_TITLE_LENGTH

final const ilMailNotification::SUBJECT_TITLE_LENGTH = 60

Definition at line 28 of file class.ilMailNotification.php.


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