2 namespace wcf\system\user\notification\
object;
3 use wcf\data\DatabaseObjectDecorator
;
4 use wcf\system\request\LinkHandler
;
7 * Notification object for conversations.
10 * @copyright 2001-2012 WoltLab GmbH
11 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
12 * @package com.woltlab.wcf.conversation
13 * @subpackage system.user.notification.object
14 * @category Community Framework
16 class ConversationUserNotificationObject
extends DatabaseObjectDecorator
implements IUserNotificationObject
{
18 * @see wcf\data\DatabaseObjectDecorator::$baseClass
20 protected static $baseClass = 'wcf\data\conversation\Conversation';
23 * @see wcf\system\user\notification\object\IUserNotificationObject::getObjectID()
25 public function getObjectID() {
26 return $this->conversationID
;
30 * @see wcf\system\user\notification\object\IUserNotificationObject::getTitle()
32 public function getTitle() {
33 return $this->subject
;
37 * @see wcf\system\user\notification\object\IUserNotificationObject::getURL()
39 public function getURL() {
40 return LinkHandler
::getInstance()->getLink('Conversation', array(
41 'object' => $this->getDecoratedObject()
46 * @see wcf\system\user\notification\object\IUserNotificationObject::getAuthorID()
48 public function getAuthorID() {