c5672a57bc1107722446947f3d409abb3d1bee96
[GitHub/WoltLab/WCF.git] /
1 <?php
2 namespace wcf\system\user\notification\object;
3 use wcf\data\DatabaseObjectDecorator;
4 use wcf\system\user\notification\object\IUserNotificationObject;
5
6 /**
7 * Represents a following user as a notification object.
8 *
9 * @author Alexander Ebert
10 * @copyright 2001-2014 WoltLab GmbH
11 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
12 * @package com.woltlab.wcf
13 * @subpackage system.user.notification.object
14 * @category Community Framework
15 */
16 class UserFollowUserNotificationObject extends DatabaseObjectDecorator implements IUserNotificationObject {
17 /**
18 * @see \wcf\data\DatabaseObjectDecorator::$baseClass
19 */
20 protected static $baseClass = 'wcf\data\user\follow\UserFollow';
21
22 /**
23 * @see \wcf\system\user\notification\object\IUserNotificationObject::getTitle()
24 */
25 public function getTitle() {
26 return '';
27 }
28
29 /**
30 * @see \wcf\system\user\notification\object\IUserNotificationObject::getURL()
31 */
32 public function getURL() {
33 return '';
34 }
35
36 /**
37 * @see \wcf\system\user\notification\object\IUserNotificationObject::getAuthorID()
38 */
39 public function getAuthorID() {
40 return $this->userID;
41 }
42
43 /**
44 * @see \wcf\data\DatabaseObjectDecorator::getObjectID()
45 */
46 public function getObjectID() {
47 return $this->followUserID;
48 }
49 }