b6e0670322e1fcfc13a33c053a29252c6cd86ac6
[GitHub/WoltLab/WCF.git] /
1 <?php
2 namespace wcf\system\user\notification\object\type;
3 use wcf\data\comment\Comment;
4
5 /**
6 * Default interface for comment user notification object types with notifications
7 * being sent to multiple recipients.
8 *
9 * This interface can also be implemented by user notification object types for
10 * comment responses. In this case, there is no distinction between commentResponse
11 * and commentResponseOwner event and only a commentResponse event is fired.
12 *
13 * @author Matthias Schmidt
14 * @copyright 2001-2016 WoltLab GmbH
15 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
16 * @package com.woltlab.wcf
17 * @subpackage system.user.notification.object.type
18 * @category Community Framework
19 * @since 2.2
20 */
21 interface IMultiRecipientCommentUserNotificationObjectType {
22 /**
23 * Returns the user ids of the notification recipients. If an empty array
24 * is returned, no notifications should be sent.
25 *
26 * @param Comment $comment
27 * @return integer[]
28 */
29 public function getRecipientIDs(Comment $comment);
30 }