Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F1820833
InvalidComponentType.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Size
868 B
Subscribers
None
InvalidComponentType.php
View Options
<?php
namespace
Sabre\CalDAV\Exception
;
use
Sabre\DAV
;
use
Sabre\CalDAV
;
/**
* InvalidComponentType
*
* @copyright Copyright (C) 2007-2015 fruux GmbH (https://fruux.com/).
* @author Evert Pot (http://evertpot.com/)
* @license http://sabre.io/license/ Modified BSD License
*/
class
InvalidComponentType
extends
DAV\Exception\Forbidden
{
/**
* Adds in extra information in the xml response.
*
* This method adds the {CALDAV:}supported-calendar-component as defined in rfc4791
*
* @param DAV\Server $server
* @param \DOMElement $errorNode
* @return void
*/
function
serialize
(
DAV\Server
$server
,
\DOMElement
$errorNode
)
{
$doc
=
$errorNode
->
ownerDocument
;
$np
=
$doc
->
createElementNS
(
CalDAV\Plugin
::
NS_CALDAV
,
'cal:supported-calendar-component'
);
$errorNode
->
appendChild
(
$np
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Dec 22, 4:29 PM (3 d, 12 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
913661
Default Alt Text
InvalidComponentType.php (868 B)
Attached To
rDAVCAL DokuWiki DAVCal PlugIn
Event Timeline
Log In to Comment