4 * This interface reflects a single notification type.
8 * @copyright Copyright (C) 2007-2012 Rooftop Solutions. All rights reserved.
9 * @author Evert Pot (http://www.rooftopsolutions.nl/)
10 * @license http://code.google.com/p/sabredav/wiki/License Modified BSD License
12 interface Sabre_CalDAV_Notifications_INotificationType extends Sabre_DAV_PropertyInterface {
15 * Serializes the notification as a single property.
17 * You should usually just encode the single top-level element of the
20 * @param Sabre_DAV_Server $server
21 * @param DOMElement $node
24 function serialize(Sabre_DAV_Server $server, \DOMElement $node);
27 * This method serializes the entire notification, as it is used in the
30 * @param Sabre_DAV_Server $server
31 * @param DOMElement $node
34 function serializeBody(Sabre_DAV_Server $server, \DOMElement $node);
37 * Returns a unique id for this notification
39 * This is just the base url. This should generally be some kind of unique