|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Inheritance diagram for Sabre\CalDAV\Backend\MockSharing:
Collaboration diagram for Sabre\CalDAV\Backend\MockSharing:Public Member Functions | |
| __construct (array $calendars=[], array $calendarData=[], array $notifications=[]) | |
| getCalendarsForUser ($principalUri) | |
| Returns a list of calendars for a principal. More... | |
| getNotificationsForPrincipal ($principalUri) | |
| Returns a list of notifications for a given principal url. More... | |
| deleteNotification ($principalUri, NotificationInterface $notification) | |
| This deletes a specific notifcation. More... | |
| updateInvites ($calendarId, array $sharees) | |
| Updates the list of shares. More... | |
| getInvites ($calendarId) | |
| Returns the list of people whom this calendar is shared with. More... | |
| shareReply ($href, $status, $calendarUri, $inReplyTo, $summary=null) | |
| This method is called when a user replied to a request to share. More... | |
| setPublishStatus ($calendarId, $value) | |
| Publishes a calendar. More... | |
Public Member Functions inherited from Sabre\CalDAV\Backend\Mock | |
| __construct (array $calendars=[], array $calendarData=[]) | |
| getCalendarsForUser ($principalUri) | |
| Returns a list of calendars for a principal. More... | |
| createCalendar ($principalUri, $calendarUri, array $properties) | |
| Creates a new calendar for a principal. More... | |
| updateCalendar ($calendarId, \Sabre\DAV\PropPatch $propPatch) | |
| Updates properties for a calendar. More... | |
| deleteCalendar ($calendarId) | |
| Delete a calendar and all it's objects. More... | |
| getCalendarObjects ($calendarId) | |
| Returns all calendar objects within a calendar object. More... | |
| getCalendarObject ($calendarId, $objectUri) | |
| Returns information from a single calendar object, based on it's object uri. More... | |
| createCalendarObject ($calendarId, $objectUri, $calendarData) | |
| Creates a new calendar object. More... | |
| updateCalendarObject ($calendarId, $objectUri, $calendarData) | |
| Updates an existing calendarobject, based on it's uri. More... | |
| deleteCalendarObject ($calendarId, $objectUri) | |
| Deletes an existing calendar object. More... | |
Public Member Functions inherited from Sabre\CalDAV\Backend\AbstractBackend | |
| updateCalendar ($calendarId, \Sabre\DAV\PropPatch $propPatch) | |
| Updates properties for a calendar. More... | |
| getMultipleCalendarObjects ($calendarId, array $uris) | |
| Returns a list of calendar objects. More... | |
| calendarQuery ($calendarId, array $filters) | |
| Performs a calendar-query on the contents of this calendar. More... | |
| getCalendarObjectByUID ($principalUri, $uid) | |
| Searches through all of a users calendars and calendar objects to find an object with a specific UID. More... | |
| getCalendarsForUser ($principalUri) | |
| Returns a list of calendars for a principal. More... | |
| createCalendar ($principalUri, $calendarUri, array $properties) | |
| Creates a new calendar for a principal. More... | |
| updateCalendar ($calendarId, \Sabre\DAV\PropPatch $propPatch) | |
| Updates properties for a calendar. More... | |
| deleteCalendar ($calendarId) | |
| Delete a calendar and all its objects. More... | |
| getCalendarObjects ($calendarId) | |
| Returns all calendar objects within a calendar. More... | |
| getCalendarObject ($calendarId, $objectUri) | |
| Returns information from a single calendar object, based on it's object uri. More... | |
| getMultipleCalendarObjects ($calendarId, array $uris) | |
| Returns a list of calendar objects. More... | |
| createCalendarObject ($calendarId, $objectUri, $calendarData) | |
| Creates a new calendar object. More... | |
| updateCalendarObject ($calendarId, $objectUri, $calendarData) | |
| Updates an existing calendarobject, based on it's uri. More... | |
| deleteCalendarObject ($calendarId, $objectUri) | |
| Deletes an existing calendar object. More... | |
| calendarQuery ($calendarId, array $filters) | |
| Performs a calendar-query on the contents of this calendar. More... | |
| getCalendarObjectByUID ($principalUri, $uid) | |
| Searches through all of a users calendars and calendar objects to find an object with a specific UID. More... | |
| getNotificationsForPrincipal ($principalUri) | |
| Returns a list of notifications for a given principal url. More... | |
| deleteNotification ($principalUri, NotificationInterface $notification) | |
| This deletes a specific notifcation. More... | |
| shareReply ($href, $status, $calendarUri, $inReplyTo, $summary=null) | |
| This method is called when a user replied to a request to share. More... | |
| updateInvites ($calendarId, array $sharees) | |
| Updates the list of shares. More... | |
| getInvites ($calendarId) | |
| Returns the list of people whom this calendar is shared with. More... | |
| setPublishStatus ($calendarId, $value) | |
| Publishes a calendar. More... | |
Private Attributes | |
| $shares = [] | |
| $notifications | |
Additional Inherited Members | |
Protected Member Functions inherited from Sabre\CalDAV\Backend\AbstractBackend | |
| validateFilterForObject (array $object, array $filters) | |
| This method validates if a filter (as passed to calendarQuery) matches the given object. More... | |
Protected Attributes inherited from Sabre\CalDAV\Backend\Mock | |
| $calendarData | |
| $calendars | |
Definition at line 8 of file MockSharing.php.
| Sabre\CalDAV\Backend\MockSharing::__construct | ( | array | $calendars = [], |
| array | $calendarData = [], |
||
| array | $notifications = [] |
||
| ) |
Definition at line 13 of file MockSharing.php.
References Sabre\CalDAV\Backend\Mock\$calendarData, Sabre\CalDAV\Backend\Mock\$calendars, and Sabre\CalDAV\Backend\MockSharing\$notifications.
| Sabre\CalDAV\Backend\MockSharing::deleteNotification | ( | $principalUri, | |
| NotificationInterface | $notification | ||
| ) |
This deletes a specific notifcation.
This may be called by a client once it deems a notification handled.
| string | $principalUri | |
| NotificationInterface | $notification |
Implements Sabre\CalDAV\Backend\NotificationSupport.
Definition at line 84 of file MockSharing.php.
References $key.
| Sabre\CalDAV\Backend\MockSharing::getCalendarsForUser | ( | $principalUri | ) |
Returns a list of calendars for a principal.
Every project is an array with the following keys:
Furthermore it can contain webdav properties in clark notation. A very common one is '{DAV:}displayname'.
| string | $principalUri |
Reimplemented from Sabre\CalDAV\Backend\Mock.
Definition at line 37 of file MockSharing.php.
References $calendar, Sabre\CalDAV\Backend\Mock\$calendars, Sabre\DAV\Sharing\Plugin\ACCESS_NOTSHARED, and Sabre\DAV\Sharing\Plugin\ACCESS_SHAREDOWNER.
| Sabre\CalDAV\Backend\MockSharing::getInvites | ( | $calendarId | ) |
Returns the list of people whom this calendar is shared with.
Every item in the returned list must be a Sharee object with at least the following properties set: $href $shareAccess $inviteStatus
and optionally: $properties
| mixed | $calendarId |
Implements Sabre\CalDAV\Backend\SharingSupport.
Definition at line 151 of file MockSharing.php.
| Sabre\CalDAV\Backend\MockSharing::getNotificationsForPrincipal | ( | $principalUri | ) |
Returns a list of notifications for a given principal url.
The returned array should only consist of implementations of Sabre\CalDAV\Notifications\INotificationType.
| string | $principalUri |
Implements Sabre\CalDAV\Backend\NotificationSupport.
Definition at line 66 of file MockSharing.php.
| Sabre\CalDAV\Backend\MockSharing::setPublishStatus | ( | $calendarId, | |
| $value | |||
| ) |
Publishes a calendar.
| mixed | $calendarId | |
| bool | $value |
Implements Sabre\CalDAV\Backend\SharingSupport.
Definition at line 187 of file MockSharing.php.
| Sabre\CalDAV\Backend\MockSharing::shareReply | ( | $href, | |
| $status, | |||
| $calendarUri, | |||
| $inReplyTo, | |||
$summary = null |
|||
| ) |
This method is called when a user replied to a request to share.
| string | href The sharee who is replying (often a mailto: address) | |
| int | status One of the \Sabre\DAV\Sharing\Plugin::INVITE_* constants | |
| string | $calendarUri | The url to the calendar thats being shared |
| string | $inReplyTo | The unique id this message is a response to |
| string | $summary | A description of the reply |
Implements Sabre\CalDAV\Backend\NotificationSupport.
Definition at line 171 of file MockSharing.php.
| Sabre\CalDAV\Backend\MockSharing::updateInvites | ( | $calendarId, | |
| array | $sharees | ||
| ) |
Updates the list of shares.
| mixed | $calendarId | |
| \Sabre\DAV\Xml\Element\Sharee[] | $sharees |
Implements Sabre\CalDAV\Backend\SharingSupport.
Definition at line 101 of file MockSharing.php.
References Sabre\DAV\Sharing\Plugin\INVITE_NORESPONSE.
|
private |
Definition at line 11 of file MockSharing.php.
Referenced by Sabre\CalDAV\Backend\MockSharing\__construct().
|
private |
Definition at line 10 of file MockSharing.php.