3 namespace wcf\system\user\notification\event;
5 use wcf\system\request\LinkHandler;
6 use wcf\system\user\notification\object\ModerationQueueUserNotificationObject;
9 * Notification event for new reports in the moderation queue.
12 * @copyright 2001-2024 WoltLab GmbH
13 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
16 * @method ModerationQueueUserNotificationObject getUserNotificationObject()
18 final class ReportModerationQueueUserNotificationEvent extends AbstractUserNotificationEvent
23 protected $stackable = true;
28 public function getTitle(): string
37 public function getMessage()
46 public function getEmailMessage($notificationType = 'instant')
54 public function getLink(): string
56 return LinkHandler::getInstance()->getLink('ModerationReport', [
57 'id' => $this->getUserNotificationObject()->queueID,
64 public function getEventHash()
66 return \sha1($this->eventID . '-' . $this->getUserNotificationObject()->queueID);