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 WoltLabSuite\Core\Data\User\Notification\Event\Recipient
13 class UserNotificationEventRecipientList extends UserList {
17 public function __construct() {
18 $this->sqlJoins = "LEFT JOIN wcf".WCF_N."_user user_table ON (user_table.userID = event_to_user.userID)";
19 $this->sqlSelects = 'user_table.*';
21 parent::__construct();
27 public function getDatabaseTableName() {
28 return 'wcf'.WCF_N.'_user_notification_event_to_user';
34 public function getDatabaseTableAlias() {
35 return 'event_to_user';