Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117757427
ScheduleInbox.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
2 KB
Referenced Files
None
Subscribers
None
ScheduleInbox.php
View Options
<?php
/**
* Extended CalDAV scheduling inbox for the Kolab DAV server
*
* @author Thomas Bruederli <bruederli@kolabsys.com>
*
* Copyright (C) 2014, Kolab Systems AG <contact@kolabsys.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
namespace
Kolab\CalDAV
;
use
Sabre\DAV
;
use
Sabre\CalDAV
;
/**
* Extended CalDAV scheduling inbox
*/
class
ScheduleInbox
extends
CalDAV\Schedule\Inbox
implements
DAV\IProperties
{
/**
* Updates properties on this node.
*
* @param PropPatch $propPatch
* @return void
* @see \Sabre\DAV\IProperties::propPatch()
*/
function
propPatch
(
DAV\PropPatch
$propPatch
)
{
// not implemented
throw
new
DAV\Exception\Forbidden
(
"The Scheduling inbox doesn't allow property changes'"
);
}
/**
* Returns a list of properties for this nodes.
*
* The properties list is a list of propertynames the client requested,
* encoded in clark-notation {xmlnamespace}tagname
*
* @param array $properties
* @return array
*/
function
getProperties
(
$properties
)
{
$response
=
[];
foreach
(
$properties
as
$propname
)
{
// getctag is the only property we support
if
(
$propname
==
'{http://calendarserver.org/ns/}getctag'
)
{
$response
[
$propname
]
=
$this
->
caldavBackend
->
getSchedulingInboxCtag
(
$this
->
principalUri
);
}
}
return
$response
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Apr 4, 9:14 AM (3 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
7c/76/56fdf3b67ba1d26f85db9b6e7f81
Default Alt Text
ScheduleInbox.php (2 KB)
Attached To
Mode
rI iRony
Attached
Detach File
Event Timeline