ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
NoAbstract.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:no-abstract');
31 $errorNode->appendChild($np);
32
33 }
34
35}
An exception for terminatinating execution or to throw for unit testing.
This exception is thrown when a user tries to set a privilege that's marked as abstract.
Definition: NoAbstract.php:15
serialize(DAV\Server $server, \DOMElement $errorNode)
Adds in extra information in the xml response.
Definition: NoAbstract.php:26
Main DAV server class.
Definition: Server.php:23
$server
Definition: sabredav.php:48