vBulletin 5.6.5 API

vB_Notification_Content_UserMention extends vB_Notification_Content
in package

Table of Contents

TYPENAME  = 'UserMention'
$triggers  : mixed
fetchPhraseArray()  : mixed
generateNotificationQueueKey()  : string
This function allows "collisions" to occur to limit or allow multiple notifications to a recipient.
addAdditionalRecipients()  : mixed
checkExtraPermissionsForSender()  : bool
Check any additional permissions that are specific to the notification type.
defineUnique()  : mixed
typeEnabledForUser()  : mixed
validateProvidedRecipients()  : mixed

Constants

Properties

$triggers

protected static mixed $triggers = array('new-content' => 20)

Methods

fetchPhraseArray()

public static fetchPhraseArray(mixed $notificationData) : mixed
Parameters
$notificationData : mixed
Tags
see
vB_Notification::fetchPhraseArray()
Return values
mixed

generateNotificationQueueKey()

This function allows "collisions" to occur to limit or allow multiple notifications to a recipient.

public static generateNotificationQueueKey(mixed $notificationData) : string

Collisions are handled by the library based on the priority of the collided notification currently in the queue.

Parameters
$notificationData : mixed
Return values
string

Note that empty string will be considered as an "always unique" request, meaning it will allow multiple notifications to a single recipient!

addAdditionalRecipients()

protected addAdditionalRecipients() : mixed
Return values
mixed

checkExtraPermissionsForSender()

Check any additional permissions that are specific to the notification type.

protected checkExtraPermissionsForSender(mixed $sender) : bool

Only subclasses know what global settings or usergroup permissions it needs to check.

Parameters
$sender : mixed
Tags
access

protected

Return values
bool

Return false to abort sending this notification

defineUnique()

protected final static defineUnique(mixed $notificationData, mixed $skipValidation) : mixed
Parameters
$notificationData : mixed
$skipValidation : mixed
Return values
mixed

typeEnabledForUser()

protected typeEnabledForUser(mixed $user) : mixed
Parameters
$user : mixed
Return values
mixed

validateProvidedRecipients()

protected validateProvidedRecipients(mixed $recipients) : mixed
Parameters
$recipients : mixed
Return values
mixed

Search results