2 declare(strict_types=1);
3 namespace wcf\data\user\notification\event\recipient;
4 use wcf\data\user\UserList;
7 * Extends the user list to provide special functions for handling recipients of user notifications.
10 * @copyright 2001-2018 WoltLab GmbH
11 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
12 * @package WoltLabSuite\Core\Data\User\Notification\Event\Recipient
14 class UserNotificationEventRecipientList extends UserList {
18 public function __construct() {
19 $this->sqlJoins = "LEFT JOIN wcf".WCF_N."_user user_table ON (user_table.userID = event_to_user.userID)";
20 $this->sqlSelects = 'user_table.*';
22 parent::__construct();
28 public function getDatabaseTableName() {
29 return 'wcf'.WCF_N.'_user_notification_event_to_user';
35 public function getDatabaseTableAlias() {
36 return 'event_to_user';