Public Member Functions | |
createMail () | |
notify (Notification $notification) |
Public Attributes | |
$cacheTime = 3600 | |
$defaultEmails = array() | |
$phpMailer = array() |
Protected Member Functions | |
validate ($recipient) |
Gentics Portal.Node PHP Author & Copyright (c) by Gentics Software GmbH sales @gen tics. comhttp://www.gentics.com Licenses can be found in the LICENSE.txt file in the root-folder of this installation You must not use this software without a valid license agreement.
Class for notification users via email
Definition at line 13 of file MailNotificator.php.
MailNotificator::createMail | ( | ) |
Create instance of mail object
Definition at line 35 of file MailNotificator.php.
Referenced by notify().
MailNotificator::notify | ( | Notification | $notification | ) |
Send notification to all recipients who is instance of EmailRecipient
Notification | $notification | occurred notification |
Reimplemented from Notificator.
Definition at line 73 of file MailNotificator.php.
References createMail(), and validate().
|
protected |
Check if email recipient is allowed to get mails
EmailRecipient | $recipient | recipient |
Definition at line 51 of file MailNotificator.php.
References User\model().
Referenced by notify().