ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
This object represents a CalDAV calendar that is shared by a different user. More...
Public Member Functions | |
getShareAccess () | |
Returns the 'access level' for the instance of this shared resource. More... | |
getShareResourceUri () | |
This function must return a URI that uniquely identifies the shared resource. More... | |
updateInvites (array $sharees) | |
Updates the list of sharees. More... | |
getInvites () | |
Returns the list of people whom this resource is shared with. More... | |
setPublishStatus ($value) | |
Marks this calendar as published. More... | |
getACL () | |
Returns a list of ACE's for this node. More... | |
getChildACL () | |
This method returns the ACL's for calendar objects in this calendar. More... | |
Public Member Functions inherited from Sabre\CalDAV\Calendar | |
__construct (Backend\BackendInterface $caldavBackend, $calendarInfo) | |
Constructor. More... | |
getName () | |
Returns the name of the calendar. More... | |
propPatch (PropPatch $propPatch) | |
Updates properties on this node. More... | |
getProperties ($requestedProperties) | |
Returns the list of properties. More... | |
getChild ($name) | |
Returns a calendar object. More... | |
getChildren () | |
Returns the full list of calendar objects. More... | |
getMultipleChildren (array $paths) | |
This method receives a list of paths in it's first argument. More... | |
childExists ($name) | |
Checks if a child-node exists. More... | |
createDirectory ($name) | |
Creates a new directory. More... | |
createFile ($name, $calendarData=null) | |
Creates a new file. More... | |
delete () | |
Deletes the calendar. More... | |
setName ($newName) | |
Renames the calendar. More... | |
getLastModified () | |
Returns the last modification date as a unix timestamp. More... | |
getOwner () | |
Returns the owner principal. More... | |
getACL () | |
Returns a list of ACE's for this node. More... | |
getChildACL () | |
This method returns the ACL's for calendar objects in this calendar. More... | |
calendarQuery (array $filters) | |
Performs a calendar-query on the contents of this calendar. More... | |
getSyncToken () | |
This method returns the current sync-token for this collection. More... | |
getChanges ($syncToken, $syncLevel, $limit=null) | |
The getChanges method returns all the changes that have happened, since the specified syncToken and the current collection. More... | |
Public Member Functions inherited from Sabre\DAVACL\IACL | |
getGroup () | |
Returns a group principal. More... | |
setACL (array $acl) | |
Updates the ACL. More... | |
getSupportedPrivilegeSet () | |
Returns the list of supported privileges for this node. More... | |
Additional Inherited Members | |
Protected Attributes inherited from Sabre\CalDAV\Calendar | |
$calendarInfo | |
$caldavBackend | |
This object represents a CalDAV calendar that is shared by a different user.
Definition at line 14 of file SharedCalendar.php.
Sabre\CalDAV\SharedCalendar::getACL | ( | ) |
Returns a list of ACE's for this node.
Each ACE has the following properties:
Implements Sabre\DAVACL\IACL.
Definition at line 110 of file SharedCalendar.php.
References Sabre\CalDAV\SharedCalendar\getShareAccess(), and Sabre\CalDAV\Plugin\NS_CALDAV.
Sabre\CalDAV\SharedCalendar::getChildACL | ( | ) |
This method returns the ACL's for calendar objects in this calendar.
The result of this method automatically gets passed to the calendar-object nodes in the calendar.
Definition at line 185 of file SharedCalendar.php.
References Sabre\CalDAV\SharedCalendar\getShareAccess().
Sabre\CalDAV\SharedCalendar::getInvites | ( | ) |
Returns the list of people whom this resource is shared with.
Every item in the returned array must be a Sharee object with at least the following properties set:
and optionally:
Implements Sabre\DAV\Sharing\ISharedNode.
Definition at line 77 of file SharedCalendar.php.
Sabre\CalDAV\SharedCalendar::getShareAccess | ( | ) |
Returns the 'access level' for the instance of this shared resource.
The value should be one of the Sabre::ACCESS_ constants.
Implements Sabre\DAV\Sharing\ISharedNode.
Definition at line 24 of file SharedCalendar.php.
Referenced by Sabre\CalDAV\SharedCalendar\getACL(), and Sabre\CalDAV\SharedCalendar\getChildACL().
Sabre\CalDAV\SharedCalendar::getShareResourceUri | ( | ) |
This function must return a URI that uniquely identifies the shared resource.
This URI should be identical across instances, and is also used in several other XML bodies to connect invites to resources.
This may simply be a relative reference to the original shared instance, but it could also be a urn. As long as it's a valid URI and unique.
Implements Sabre\DAV\Sharing\ISharedNode.
Definition at line 41 of file SharedCalendar.php.
Sabre\CalDAV\SharedCalendar::setPublishStatus | ( | $value | ) |
Marks this calendar as published.
Publishing a calendar should automatically create a read-only, public, subscribable calendar.
bool | $value |
Implements Sabre\CalDAV\ISharedCalendar.
Definition at line 92 of file SharedCalendar.php.
Sabre\CalDAV\SharedCalendar::updateInvites | ( | array | $sharees | ) |
Updates the list of sharees.
Every item must be a Sharee object.
Implements Sabre\DAV\Sharing\ISharedNode.
Definition at line 55 of file SharedCalendar.php.