ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
NotSupportedPrivilege.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Sabre\DAVACL\Exception;
4 
5 use Sabre\DAV;
6 
15 class NotSupportedPrivilege extends DAV\Exception\PreconditionFailed {
16 
26  function serialize(DAV\Server $server, \DOMElement $errorNode) {
27 
28  $doc = $errorNode->ownerDocument;
29 
30  $np = $doc->createElementNS('DAV:', 'd:not-supported-privilege');
31  $errorNode->appendChild($np);
32 
33  }
34 
35 }
$server
Definition: sabredav.php:48
Main DAV server class.
Definition: Server.php:23
serialize(DAV\Server $server, \DOMElement $errorNode)
Adds in extra information in the xml response.
If a client tried to set a privilege that doesn&#39;t exist, this exception will be thrown.