* @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 WCF::getLanguage()->get('wcf.user.notification.conversation.message.shortOutput'); } /** * @see wcf\system\user\notification\event\IUserNotificationEvent::getMessage() */ public function getMessage() { return WCF::getLanguage()->getDynamicVariable('wcf.user.notification.conversation.message.output', array( 'message' => $this->userNotificationObject, )); } /** * @see wcf\system\user\notification\event\IUserNotificationEvent::getRenderedOutput() */ public function getRenderedOutput() { WCF::getTPL()->assign(array( 'author' => $this->author, 'buttons' => $this->getActions(), 'message' => $this->getMessage(), 'time' => $this->userNotificationObject->time )); return WCF::getTPL()->fetch('userNotificationDetails'); } }