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 public function getTitle(): string
32 public function getMessage()
41 public function getEmailMessage($notificationType = 'instant')
49 public function getLink(): string
51 return LinkHandler::getInstance()->getLink('ModerationReport', [
52 'id' => $this->getUserNotificationObject()->queueID,
59 public function getEventHash()
61 return \sha1($this->eventID . '-' . $this->getUserNotificationObject()->queueID);