]> git.mxchange.org Git - friendica-addons.git/blob - dav/SabreDAV/lib/Sabre/DAV/Exception/ReportNotImplemented.php
Merge remote branch 'friendica/master'
[friendica-addons.git] / dav / SabreDAV / lib / Sabre / DAV / Exception / ReportNotImplemented.php
1 <?php
2
3 /**
4  * ReportNotImplemented
5  *
6  * This exception is thrown when the client requested an unknown report through the REPORT method
7  *
8  * @package Sabre
9  * @subpackage DAV
10  * @copyright Copyright (C) 2007-2012 Rooftop Solutions. All rights reserved.
11  * @author Evert Pot (http://www.rooftopsolutions.nl/) 
12  * @license http://code.google.com/p/sabredav/wiki/License Modified BSD License
13  */
14 class Sabre_DAV_Exception_ReportNotImplemented extends Sabre_DAV_Exception_NotImplemented {
15
16     /**
17      * This method allows the exception to include additional information into the WebDAV error response
18      *
19      * @param Sabre_DAV_Server $server
20      * @param DOMElement $errorNode
21      * @return void
22      */
23     public function serialize(Sabre_DAV_Server $server,DOMElement $errorNode) {
24
25         $error = $errorNode->ownerDocument->createElementNS('DAV:','d:supported-report');
26         $errorNode->appendChild($error);
27
28     }
29
30 }