2 namespace wcf\data\user\notification\event\recipient;
3 use wcf\data\user\UserList;
6 * Extends the user list to provide special functions for handling recipients of user notifications.
9 * @copyright 2001-2016 WoltLab GmbH
10 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
11 * @package com.woltlab.wcf
12 * @subpackage data.user.notification.event.recipient
13 * @category Community Framework
15 class UserNotificationEventRecipientList extends UserList {
19 public function __construct() {
20 $this->sqlJoins = "LEFT JOIN wcf".WCF_N."_user user_table ON (user_table.userID = event_to_user.userID)";
21 $this->sqlSelects = 'user_table.*';
23 parent::__construct();
29 public function getDatabaseTableName() {
30 return 'wcf'.WCF_N.'_user_notification_event_to_user';
36 public function getDatabaseTableAlias() {
37 return 'event_to_user';