vB_Notification_PollVote
extends vB_Notification
in package
Table of Contents
- TYPENAME = 'PollVote'
- $triggers : mixed
- $updateEvents : mixed
- $validSourceContentTypes : array<string|int, mixed>
- Content types that will be allowed to send notifications.
- fetchPhraseArray() : mixed
- addAdditionalRecipients() : mixed
- defineUnique() : mixed
- overwriteRule() : mixed
- typeEnabledForUser() : mixed
- validateAndCleanNotificationData() : mixed
- validateProvidedRecipients() : mixed
Constants
TYPENAME
public
mixed
TYPENAME
= 'PollVote'
Properties
$triggers
protected
static mixed
$triggers
= array('new-poll-vote' => 10)
$updateEvents
protected
static mixed
$updateEvents
= array('read_topic', 'read_channel', 'soft_deleted_node', 'physically_deleted_node', 'deleted_user')
$validSourceContentTypes
Content types that will be allowed to send notifications.
protected
array<string|int, mixed>
$validSourceContentTypes
= array('Poll' => 1)
Methods
fetchPhraseArray()
public
static fetchPhraseArray(mixed $notificationData) : mixed
Parameters
- $notificationData : mixed
Tags
Return values
mixed —addAdditionalRecipients()
protected
addAdditionalRecipients() : mixed
Return values
mixed —defineUnique()
protected
final static defineUnique(mixed $notificationData, mixed $skipValidation) : mixed
Parameters
- $notificationData : mixed
- $skipValidation : mixed
Return values
mixed —overwriteRule()
protected
overwriteRule() : mixed
Return values
mixed —typeEnabledForUser()
protected
typeEnabledForUser(mixed $user) : mixed
Parameters
- $user : mixed
Return values
mixed —validateAndCleanNotificationData()
protected
validateAndCleanNotificationData(mixed $notificationData) : mixed
Parameters
- $notificationData : mixed
Return values
mixed —validateProvidedRecipients()
protected
validateProvidedRecipients(mixed $recipients) : mixed
Parameters
- $recipients : mixed