Page MenuHomePhabricator

ReportNotSupported.php
No OneTemporary

ReportNotSupported.php

<?php
namespace Sabre\DAV\Exception;
use Sabre\DAV;
/**
* ReportNotSupported
*
* This exception is thrown when the client requested an unknown report through the REPORT method
*
* @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 ReportNotSupported extends UnsupportedMediaType {
/**
* This method allows the exception to include additional information into the WebDAV error response
*
* @param DAV\Server $server
* @param \DOMElement $errorNode
* @return void
*/
function serialize(DAV\Server $server, \DOMElement $errorNode) {
$error = $errorNode->ownerDocument->createElementNS('DAV:', 'd:supported-report');
$errorNode->appendChild($error);
}
}

File Metadata

Mime Type
text/x-php
Expires
Tue, Dec 24, 1:38 PM (21 m, 19 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
914277
Default Alt Text
ReportNotSupported.php (849 B)

Event Timeline