source: pmb4.2/trunk/fuentes/pmb/admin/connecteurs/out/webdav/lib/Sabre/CalDAV/Notifications/INotificationType.php @ 815

Last change on this file since 815 was 815, checked in by jrpelegrina, 4 years ago

Initial release of pmb 4.2

  • Property svn:executable set to *
File size: 1.1 KB
Line 
1<?php
2
3namespace Sabre\CalDAV\Notifications;
4use Sabre\DAV;
5
6/**
7 * This interface reflects a single notification type.
8 *
9 * @copyright Copyright (C) 2007-2013 Rooftop Solutions. All rights reserved.
10 * @author Evert Pot (http://www.rooftopsolutions.nl/)
11 * @license http://code.google.com/p/sabredav/wiki/License Modified BSD License
12 */
13interface INotificationType extends DAV\PropertyInterface {
14
15    /**
16     * This method serializes the entire notification, as it is used in the
17     * response body.
18     *
19     * @param DAV\Server $server
20     * @param \DOMElement $node
21     * @return void
22     */
23    function serializeBody(DAV\Server $server, \DOMElement $node);
24
25    /**
26     * Returns a unique id for this notification
27     *
28     * This is just the base url. This should generally be some kind of unique
29     * id.
30     *
31     * @return string
32     */
33    function getId();
34
35    /**
36     * Returns the ETag for this notification.
37     *
38     * The ETag must be surrounded by literal double-quotes.
39     *
40     * @return string
41     */
42    function getETag();
43
44}
Note: See TracBrowser for help on using the repository browser.