ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
NotSupportedPrivilege.php
Go to the documentation of this file.
1<?php
2
4
5use Sabre\DAV;
6
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}
An exception for terminatinating execution or to throw for unit testing.
If a client tried to set a privilege that doesn't exist, this exception will be thrown.
serialize(DAV\Server $server, \DOMElement $errorNode)
Adds in extra information in the xml response.
Main DAV server class.
Definition: Server.php:23
$server
Definition: sabredav.php:48