3 namespace wcf\data\user\notification\event\recipient;
5 use wcf\data\user\UserList;
8 * Extends the user list to provide special functions for handling recipients of user notifications.
11 * @copyright 2001-2019 WoltLab GmbH
12 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
13 * @package WoltLabSuite\Core\Data\User\Notification\Event\Recipient
15 class UserNotificationEventRecipientList extends UserList
20 public function __construct()
22 $this->sqlJoins = "LEFT JOIN wcf" . WCF_N . "_user user_table ON user_table.userID = event_to_user.userID";
23 $this->sqlSelects = 'user_table.*';
25 parent::__construct();
31 public function getDatabaseTableName()
33 return 'wcf' . WCF_N . '_user_notification_event_to_user';
39 public function getDatabaseTableAlias()
41 return 'event_to_user';