16 'principaluri' =>
'principals/user1',
20 '{http://calendarserver.org/ns/}shared-url' =>
'calendars/owner/cal1',
21 '{http://sabredav.org/ns}owner-principal' =>
'principal/owner',
22 '{http://sabredav.org/ns}read-only' =>
false,
23 'principaluri' =>
'principals/user1',
34 'uri' =>
'principals/user1' 42 $this->assertEquals(
'user1', $instance->getName());
49 $children = $instance->getChildren();
50 $this->assertEquals(3, count($children));
55 $hasNotifications =
false;
57 foreach ($children as $child) {
63 $hasNotifications =
true;
67 $this->assertEquals(2, $sharedCalendars);
68 $this->assertTrue($hasNotifications);
75 $result = $instance->shareReply(
'uri', DAV\Sharing\Plugin::INVITE_DECLINED,
'curi',
'1');
The CalendarHome represents a node that is usually in a users' calendar-homeset.
This interface represents a Calendar that is shared by a different user.
The ICollection Interface.