MsgReportReply_Notify
extends BackgroundTask
in package
This class contains code used to notify a moderator when another moderator replies to a message moderation report that the first mod has commented on.
Table of Contents
Constants
- RECEIVE_NOTIFY_ALERT = 0x1
- RECEIVE_NOTIFY_EMAIL = 0x2
- Constants for notification types.
Properties
- $_details : array<string|int, mixed>
Methods
- __construct() : mixed
- The constructor.
- execute() : bool
- This executes the task: loads up the info, puts the email in the queue and inserts any alerts as needed.
- getMinUserInfo() : array<string|int, mixed>
- Loads minimal info for the previously loaded user ids
Constants
RECEIVE_NOTIFY_ALERT
public
mixed
RECEIVE_NOTIFY_ALERT
= 0x1
RECEIVE_NOTIFY_EMAIL
Constants for notification types.
public
mixed
RECEIVE_NOTIFY_EMAIL
= 0x2
Properties
$_details
protected
array<string|int, mixed>
$_details
Holds the details for the task
Methods
__construct()
The constructor.
public
__construct(array<string|int, mixed> $details) : mixed
Parameters
- $details : array<string|int, mixed>
-
The details for the task
execute()
This executes the task: loads up the info, puts the email in the queue and inserts any alerts as needed.
public
execute() : bool
Tags
Return values
bool —Always returns true.
getMinUserInfo()
Loads minimal info for the previously loaded user ids
public
getMinUserInfo([array<string|int, mixed> $user_ids = [] ]) : array<string|int, mixed>
Parameters
- $user_ids : array<string|int, mixed> = []