EmailNotificationUtil Class Reference

Static Public Member Functions

static resolveNotificationHtmlTemplate ($bodyContent, User $user=null)
static resolveNotificationTextTemplate ($bodyContent, User $user=null)
static resolveAndSendEmail ($senderPerson, $recipients, $subject, $content)

Static Protected Member Functions

static getNotificationHtmlTemplate ()
static getNotificationTextTemplate ()
static resolveWebsiteUrlForNotificationMessage ()

Detailed Description

Definition at line 37 of file EmailNotificationUtil.php.


Member Function Documentation

static resolveNotificationHtmlTemplate ( bodyContent,
User user = null 
) [static]

Based on the current theme, retrieve the email notification template for html content and replace the content tags with the appropriate strings

Parameters:
string $bodyContent
User|null $user
Returns:
string

Definition at line 46 of file EmailNotificationUtil.php.

static resolveNotificationTextTemplate ( bodyContent,
User user = null 
) [static]

Based on the current theme, retrieve the email notification template for text content and replace the content tags with the appropriate strings

Parameters:
string $bodyContent
User $user
Returns:
string

Definition at line 101 of file EmailNotificationUtil.php.

static resolveAndSendEmail ( senderPerson,
recipients,
subject,
content 
) [static]
Parameters:
User $senderPerson
array $recipients
string $subject
EmailMessageContent $content

Definition at line 158 of file EmailNotificationUtil.php.

static resolveWebsiteUrlForNotificationMessage (  )  [static, protected]
Returns:
string

Definition at line 195 of file EmailNotificationUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sat Sep 23 07:10:24 2017