CommentsUtil Class Reference

Static Public Member Functions

static sendNotificationOnNewComment (RedBeanModel $relatedModel, Comment $comment, $senderPerson, $peopleToSendNotification)
static getEmailContent (RedBeanModel $model, Comment $comment, User $user)
static getEmailSubject ($model)
static getUrlToEmail ($model)

Detailed Description

Helper class for working with comments

Definition at line 40 of file CommentsUtil.php.


Member Function Documentation

static sendNotificationOnNewComment ( RedBeanModel relatedModel,
Comment comment,
senderPerson,
peopleToSendNotification 
) [static]
Parameters:
RedBeanModel $relatedModel
Comment $comment
$senderPerson 
array $peopleToSendNotification

Definition at line 48 of file CommentsUtil.php.

static getEmailContent ( RedBeanModel model,
Comment comment,
User user 
) [static]
Parameters:
RedBeanModel $model
Comment $comment
User $user
Returns:
EmailMessageContent

Definition at line 75 of file CommentsUtil.php.

static getEmailSubject ( model  )  [static]
Parameters:
$model 
Returns:
string

Definition at line 113 of file CommentsUtil.php.

static getUrlToEmail ( model  )  [static]
Parameters:
$model 
Returns:
mixed

Definition at line 127 of file CommentsUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu Jun 22 07:10:23 2017