ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
The CalendarHome represents a node that is usually in a users' calendar-homeset. More...
Public Member Functions | |
__construct (Backend\BackendInterface $caldavBackend, $principalInfo) | |
Constructor. More... | |
getName () | |
Returns the name of this object. More... | |
setName ($name) | |
Updates the name of this object. More... | |
delete () | |
Deletes this object. More... | |
getLastModified () | |
Returns the last modification date. More... | |
createFile ($filename, $data=null) | |
Creates a new file under this object. More... | |
createDirectory ($filename) | |
Creates a new directory under this object. More... | |
getChild ($name) | |
Returns a single calendar, by name. More... | |
childExists ($name) | |
Checks if a calendar exists. More... | |
getChildren () | |
Returns a list of calendars. More... | |
createExtendedCollection ($name, MkCol $mkCol) | |
Creates a new calendar or subscription. More... | |
getOwner () | |
Returns the owner of the calendar home. More... | |
getACL () | |
Returns a list of ACE's for this node. More... | |
shareReply ($href, $status, $calendarUri, $inReplyTo, $summary=null) | |
This method is called when a user replied to a request to share. More... | |
getCalendarObjectByUID ($uid) | |
Searches through all of a users calendars and calendar objects to find an object with a specific UID. 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... | |
Protected Attributes | |
$caldavBackend | |
$principalInfo | |
The CalendarHome represents a node that is usually in a users' calendar-homeset.
It contains all the users' calendars, and can optionally contain a notifications collection, calendar subscriptions, a users' inbox, and a users' outbox.
Definition at line 23 of file CalendarHome.php.
Sabre\CalDAV\CalendarHome::__construct | ( | Backend\BackendInterface | $caldavBackend, |
$principalInfo | |||
) |
Constructor.
Backend\BackendInterface | $caldavBackend | |
array | $principalInfo |
Definition at line 47 of file CalendarHome.php.
References Sabre\CalDAV\CalendarHome\$caldavBackend, and Sabre\CalDAV\CalendarHome\$principalInfo.
Sabre\CalDAV\CalendarHome::childExists | ( | $name | ) |
Checks if a calendar exists.
string | $name |
Implements Sabre\DAV\ICollection.
Definition at line 178 of file CalendarHome.php.
Sabre\CalDAV\CalendarHome::createDirectory | ( | $filename | ) |
Creates a new directory under this object.
This is currently not allowed.
string | $filename |
Implements Sabre\DAV\ICollection.
Definition at line 123 of file CalendarHome.php.
Sabre\CalDAV\CalendarHome::createExtendedCollection | ( | $name, | |
MkCol | $mkCol | ||
) |
Creates a new calendar or subscription.
string | $name | |
MkCol | $mkCol |
DAV |
Implements Sabre\DAV\IExtendedCollection.
Definition at line 234 of file CalendarHome.php.
References $name, Sabre\DAV\PropPatch\getRemainingValues(), Sabre\DAV\MkCol\getResourceType(), and Sabre\DAV\PropPatch\setRemainingResultCode().
Sabre\CalDAV\CalendarHome::createFile | ( | $filename, | |
$data = null |
|||
) |
Creates a new file under this object.
This is currently not allowed
string | $filename | |
resource | $data |
Implements Sabre\DAV\ICollection.
Definition at line 109 of file CalendarHome.php.
Sabre\CalDAV\CalendarHome::delete | ( | ) |
Deletes this object.
Implements Sabre\DAV\INode.
Definition at line 83 of file CalendarHome.php.
Sabre\CalDAV\CalendarHome::getACL | ( | ) |
Returns a list of ACE's for this node.
Each ACE has the following properties:
Implements Sabre\DAVACL\IACL.
Definition at line 297 of file CalendarHome.php.
Sabre\CalDAV\CalendarHome::getCalendarObjectByUID | ( | $uid | ) |
Searches through all of a users calendars and calendar objects to find an object with a specific UID.
This method should return the path to this object, relative to the calendar home, so this path usually only contains two parts:
calendarpath/objectpath.ics
If the uid is not found, return null.
This method should only consider * objects that the principal owns, so any calendars owned by other principals that also appear in this collection should be ignored.
string | $uid |
Definition at line 372 of file CalendarHome.php.
Sabre\CalDAV\CalendarHome::getChild | ( | $name | ) |
Returns a single calendar, by name.
string | $name |
Implements Sabre\DAV\ICollection.
Definition at line 135 of file CalendarHome.php.
Sabre\CalDAV\CalendarHome::getChildren | ( | ) |
Returns a list of calendars.
Implements Sabre\DAV\ICollection.
Definition at line 193 of file CalendarHome.php.
Sabre\CalDAV\CalendarHome::getLastModified | ( | ) |
Returns the last modification date.
Implements Sabre\DAV\INode.
Definition at line 94 of file CalendarHome.php.
Sabre\CalDAV\CalendarHome::getName | ( | ) |
Returns the name of this object.
Implements Sabre\DAV\INode.
Definition at line 59 of file CalendarHome.php.
References $name, and Sabre\HTTP\URLUtil\splitPath().
Sabre\CalDAV\CalendarHome::getOwner | ( | ) |
Returns the owner of the calendar home.
Implements Sabre\DAVACL\IACL.
Definition at line 279 of file CalendarHome.php.
Sabre\CalDAV\CalendarHome::setName | ( | $name | ) |
Updates the name of this object.
string | $name |
Implements Sabre\DAV\INode.
Definition at line 72 of file CalendarHome.php.
Sabre\CalDAV\CalendarHome::shareReply | ( | $href, | |
$status, | |||
$calendarUri, | |||
$inReplyTo, | |||
$summary = null |
|||
) |
This method is called when a user replied to a request to share.
This method should return the url of the newly created calendar if the share was accepted.
string | $href | The sharee who is replying (often a mailto: address) |
int | $status | One of the SharingPlugin::STATUS_* 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 |
Definition at line 344 of file CalendarHome.php.
References $summary.
|
protected |
Definition at line 32 of file CalendarHome.php.
Referenced by Sabre\CalDAV\CalendarHome\__construct().
|
protected |
Definition at line 39 of file CalendarHome.php.
Referenced by Sabre\CalDAV\CalendarHome\__construct().