ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ConflictingLock.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Sabre\DAV\Exception;
4 
5 use Sabre\DAV;
6 
17 class 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 }
$server
Definition: sabredav.php:48
Main DAV server class.
Definition: Server.php:23
serialize(DAV\Server $server, \DOMElement $errorNode)
This method allows the exception to include additional information into the WebDAV error response...