c595a303899c5ae3c28cd6627682207808d913f0
[GitHub/WoltLab/WCF.git] /
1 <?php
2 namespace wcf\system\user\notification\object\type;
3
4 /**
5 * This interface defines the basic methods every notification object type should implement.
6 *
7 * @author Marcel Werk, Oliver Kliebisch
8 * @copyright 2001-2011 WoltLab GmbH, Oliver Kliebisch
9 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
10 * @package com.woltlab.wcf.notification
11 * @subpackage system.user.notification.object.type
12 * @category Community Framework
13 */
14 interface UserNotificationObjectType {
15 /**
16 * Gets a notification object by its ID.
17 *
18 * @param integer $objectID
19 * @return wcf\system\user\notification\object\UserNotificationObject
20 */
21 public function getObjectByID($objectID);
22
23 /**
24 * Gets notification objects by their IDs.
25 *
26 * @param array<integer> $objectIDs
27 * @return array<wcf\system\user\notification\object\UserNotificationObject>
28 */
29 public function getObjectsByIDs($objectIDs);
30
31 }