2 namespace wcf\system\user\notification\object\type;
5 * This interface defines the basic methods every notification object type should implement.
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
14 interface UserNotificationObjectType {
16 * Gets a notification object by its ID.
18 * @param integer $objectID
19 * @return wcf\system\user\notification\object\UserNotificationObject
21 public function getObjectByID($objectID);
24 * Gets notification objects by their IDs.
26 * @param array<integer> $objectIDs
27 * @return array<wcf\system\user\notification\object\UserNotificationObject>
29 public function getObjectsByIDs($objectIDs);