2 namespace wcf\system\user\notification\object;
3 use wcf\data\DatabaseObjectDecorator;
6 * Represents a following user as a notification object.
8 * @author Alexander Ebert
9 * @copyright 2001-2014 WoltLab GmbH
10 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
11 * @package com.woltlab.wcf
12 * @subpackage system.user.notification.object
13 * @category Community Framework
15 class UserFollowUserNotificationObject extends DatabaseObjectDecorator implements IStackableUserNotificationObject {
17 * @see \wcf\data\DatabaseObjectDecorator::$baseClass
19 protected static $baseClass = 'wcf\data\user\follow\UserFollow';
22 * @see \wcf\system\user\notification\object\IUserNotificationObject::getTitle()
24 public function getTitle() {
29 * @see \wcf\system\user\notification\object\IUserNotificationObject::getURL()
31 public function getURL() {
36 * @see \wcf\system\user\notification\object\IUserNotificationObject::getAuthorID()
38 public function getAuthorID() {
43 * @see \wcf\system\user\notification\object\IStackableUserNotificationObject::getRelatedObjectID()
45 public function getRelatedObjectID() {
46 return $this->followUserID;