Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.
 All Data Structures Functions Variables Pages
Static Public Member Functions | Static Protected Member Functions
EmailNotificationUtil Class Reference

Static Public Member Functions

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

Static Protected Member Functions

static getNotificationHtmlTemplate ()
 
static getNotificationTextTemplate ()
 
static resolveWebsiteUrlForNotificationMessage ()
 
static resolvePreferenceAndSourceContentForHtmlTemplate (array $htmlContent, User $user=null, $isTestNotification)
 
static resolvePreferenceAndSourceContentForTextTemplate (array $textContent, User $user=null, $isTestNotification)
 

Detailed Description

Definition at line 37 of file EmailNotificationUtil.php.

Member Function Documentation

static resolveNotificationHtmlTemplate (   $bodyContent,
User  $user = null,
  $isTestNotification = 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
null$isTestNotification
Returns
string

Definition at line 47 of file EmailNotificationUtil.php.

static resolveNotificationTextTemplate (   $bodyContent,
User  $user = null,
  $isTestNotification = 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 | null$user
null$isTestNotification
Returns
string

Definition at line 95 of file EmailNotificationUtil.php.

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

Definition at line 141 of file EmailNotificationUtil.php.

static resolveWebsiteUrlForNotificationMessage ( )
staticprotected
Returns
string

Definition at line 178 of file EmailNotificationUtil.php.

static resolvePreferenceAndSourceContentForHtmlTemplate ( array  $htmlContent,
User  $user = null,
  $isTestNotification 
)
staticprotected
Parameters
array$htmlContent
User | null$user
$isTestNotification
Returns
array

Definition at line 197 of file EmailNotificationUtil.php.

static resolvePreferenceAndSourceContentForTextTemplate ( array  $textContent,
User  $user = null,
  $isTestNotification 
)
staticprotected
Parameters
array$textContent
User | null$user
$isTestNotification
Returns
array

Definition at line 224 of file EmailNotificationUtil.php.


The documentation for this class was generated from the following file:
Generated on Tue Jul 7 2020 07:10:47
Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.