c74ac38b02480eb04f61fe3a6a2079808f5e8047
[GitHub/WoltLab/WCF.git] /
1 <?php
2 namespace wcf\system\user\notification\object;
3 use wcf\data\DatabaseObjectDecorator;
4
5 /**
6 * Represents a following user as a notification object.
7 *
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
14 */
15 class UserFollowUserNotificationObject extends DatabaseObjectDecorator implements IStackableUserNotificationObject {
16 /**
17 * @see \wcf\data\DatabaseObjectDecorator::$baseClass
18 */
19 protected static $baseClass = 'wcf\data\user\follow\UserFollow';
20
21 /**
22 * @see \wcf\system\user\notification\object\IUserNotificationObject::getTitle()
23 */
24 public function getTitle() {
25 return '';
26 }
27
28 /**
29 * @see \wcf\system\user\notification\object\IUserNotificationObject::getURL()
30 */
31 public function getURL() {
32 return '';
33 }
34
35 /**
36 * @see \wcf\system\user\notification\object\IUserNotificationObject::getAuthorID()
37 */
38 public function getAuthorID() {
39 return $this->userID;
40 }
41
42 /**
43 * @see \wcf\system\user\notification\object\IStackableUserNotificationObject::getRelatedObjectID()
44 */
45 public function getRelatedObjectID() {
46 return $this->followUserID;
47 }
48 }