ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ConflictingLock.php
Go to the documentation of this file.
1<?php
2
3namespace Sabre\DAV\Exception;
4
5use Sabre\DAV;
6
17class ConflictingLock extends Locked {
18
26 function serialize(DAV\Server $server, \DOMElement $errorNode) {
27
28 if ($this->lock) {
29 $error = $errorNode->ownerDocument->createElementNS('DAV:', 'd:no-conflicting-lock');
30 $errorNode->appendChild($error);
31 $error->appendChild($errorNode->ownerDocument->createElementNS('DAV:', 'd:href', $this->lock->uri));
32 }
33
34 }
35
36}
An exception for terminatinating execution or to throw for unit testing.
serialize(DAV\Server $server, \DOMElement $errorNode)
This method allows the exception to include additional information into the WebDAV error response.
Main DAV server class.
Definition: Server.php:23
$server
Definition: sabredav.php:48