ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
NoAbstract.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Sabre\DAVACL\Exception;
4 
5 use Sabre\DAV;
6 
15 class NoAbstract 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:no-abstract');
31  $errorNode->appendChild($np);
32 
33  }
34 
35 }
This exception is thrown when a user tries to set a privilege that&#39;s marked as abstract.
Definition: NoAbstract.php:15
$server
Definition: sabredav.php:48
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