1<?php
2
3namespace Sabre\CalDAV;
4
5/**
6 * This interface represents a Calendar that is shared by a different user.
7 *
8 * @copyright Copyright (C) 2007-2015 fruux GmbH (https://fruux.com/).
9 * @author Evert Pot (http://evertpot.com/)
10 * @license http://sabre.io/license/ Modified BSD License
11 */
12interface ISharedCalendar extends ICalendar {
13
14    /**
15     * This method should return the url of the owners' copy of the shared
16     * calendar.
17     *
18     * @return string
19     */
20    function getSharedUrl();
21
22    /**
23     * Returns the list of people whom this calendar is shared with.
24     *
25     * Every element in this array should have the following properties:
26     *   * href - Often a mailto: address
27     *   * commonName - Optional, for example a first + last name
28     *   * status - See the Sabre\CalDAV\SharingPlugin::STATUS_ constants.
29     *   * readOnly - boolean
30     *   * summary - Optional, a description for the share
31     *
32     * @return array
33     */
34    function getShares();
35
36}
37