* @package com.woltlab.wcf.conversation * @subpackage system.user.notification.event * @category Community Framework */ class ConversationMessageUserNotificationEvent extends AbstractUserNotificationEvent { /** * @see wcf\system\user\notification\event\IUserNotificationEvent::getMessage() */ public function getTitle() { return $this->getLanguage()->get('wcf.user.notification.conversation.message.title'); } /** * @see wcf\system\user\notification\event\IUserNotificationEvent::getMessage() */ public function getMessage() { return $this->getLanguage()->getDynamicVariable('wcf.user.notification.conversation.message.message', array( 'message' => $this->userNotificationObject, )); } /** * @see wcf\system\user\notification\event\IUserNotificationEvent::getEmailMessage() */ public function getEmailMessage() { return $this->getLanguage()->getDynamicVariable('wcf.user.notification.conversation.message.mail', array( 'message' => $this->userNotificationObject, 'author' => $this->author )); } /** * @see wcf\system\user\notification\event\IUserNotificationEvent::getLink() */ public function getLink() { return LinkHandler::getInstance()->getLink('Conversation', array( 'object' => $this->userNotificationObject->getConversation(), 'messageID' => $this->userNotificationObject->messageID ), '#message'.$this->userNotificationObject->messageID); } }