ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
The CalDAV scheduling inbox. More...
Public Member Functions | |
__construct (Backend\SchedulingSupport $caldavBackend, $principalUri) | |
Constructor. More... | |
getName () | |
Returns the name of the node. More... | |
getChildren () | |
Returns an array with all the child nodes. More... | |
createFile ($name, $data=null) | |
Creates a new file in the directory. More... | |
getOwner () | |
Returns the owner principal. More... | |
getACL () | |
Returns a list of ACE's for this node. More... | |
calendarQuery (array $filters) | |
Performs a calendar-query on the contents of this calendar. More... | |
Public Member Functions inherited from Sabre\DAV\Collection | |
getChild ($name) | |
Returns a child object, by its name. More... | |
childExists ($name) | |
Checks is a child-node exists. More... | |
createFile ($name, $data=null) | |
Creates a new file in the directory. More... | |
createDirectory ($name) | |
Creates a new subdirectory. More... | |
Public Member Functions inherited from Sabre\DAV\Node | |
getLastModified () | |
Returns the last modification time as a unix timestamp. More... | |
delete () | |
Deletes the current node. More... | |
setName ($name) | |
Renames the node. 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 | |
$principalUri | |
The CalDAV scheduling inbox.
Sabre\CalDAV\Schedule\Inbox::__construct | ( | Backend\SchedulingSupport | $caldavBackend, |
$principalUri | |||
) |
Constructor.
Backend\SchedulingSupport | $caldavBackend | |
string | $principalUri |
Definition at line 42 of file Inbox.php.
References Sabre\CalDAV\Schedule\Inbox\$caldavBackend, and Sabre\CalDAV\Schedule\Inbox\$principalUri.
Sabre\CalDAV\Schedule\Inbox::calendarQuery | ( | array | $filters | ) |
Performs a calendar-query on the contents of this calendar.
The calendar-query is defined in RFC4791 : CalDAV. Using the calendar-query it is possible for a client to request a specific set of object, based on contents of iCalendar properties, date-ranges and iCalendar component types (VTODO, VEVENT).
This method should just return a list of (relative) urls that match this query.
The list of filters are specified as an array. The exact array is documented by .
array | $filters |
Implements Sabre\CalDAV\ICalendarObjectContainer.
Definition at line 184 of file Inbox.php.
References $result, and Sabre\VObject\Reader\read().
Sabre\CalDAV\Schedule\Inbox::createFile | ( | $name, | |
$data = null |
|||
) |
Creates a new file in the directory.
Data will either be supplied as a stream resource, or in certain cases as a string. Keep in mind that you may have to support either.
After successful creation of the file, you may choose to return the ETag of the new file here.
The returned ETag must be surrounded by double-quotes (The quotes should be part of the actual string).
If you cannot accurately determine the ETag, you should not return it. If you don't store the file exactly as-is (you're transforming it somehow) you should also not return an ETag.
This means that if a subsequent GET to this new file does not exactly return the same contents of what was submitted here, you are strongly recommended to omit the ETag.
string | $name | Name of the file |
resource | string | $data | Initial payload |
Implements Sabre\DAV\ICollection.
Definition at line 104 of file Inbox.php.
Sabre\CalDAV\Schedule\Inbox::getACL | ( | ) |
Returns a list of ACE's for this node.
Each ACE has the following properties:
Implements Sabre\DAVACL\IACL.
Definition at line 135 of file Inbox.php.
References Sabre\CalDAV\Schedule\Inbox\getOwner(), and Sabre\CalDAV\Plugin\NS_CALDAV.
Sabre\CalDAV\Schedule\Inbox::getChildren | ( | ) |
Returns an array with all the child nodes.
Implements Sabre\DAV\ICollection.
Definition at line 67 of file Inbox.php.
References Sabre\CalDAV\Schedule\Inbox\$principalUri.
Sabre\CalDAV\Schedule\Inbox::getName | ( | ) |
Returns the name of the node.
This is used to generate the url.
Implements Sabre\DAV\INode.
Sabre\CalDAV\Schedule\Inbox::getOwner | ( | ) |
Returns the owner principal.
This must be a url to a principal, or null if there's no owner
Implements Sabre\DAVACL\IACL.
Definition at line 117 of file Inbox.php.
References Sabre\CalDAV\Schedule\Inbox\$principalUri.
Referenced by Sabre\CalDAV\Schedule\Inbox\getACL().
|
protected |
Definition at line 27 of file Inbox.php.
Referenced by Sabre\CalDAV\Schedule\Inbox\__construct().
|
protected |
Definition at line 34 of file Inbox.php.
Referenced by Sabre\CalDAV\Schedule\Inbox\__construct(), Sabre\CalDAV\Schedule\Inbox\getChildren(), and Sabre\CalDAV\Schedule\Inbox\getOwner().