ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
SupportedLock.php
Go to the documentation of this file.
1<?php
2
4
7
22
42 function xmlSerialize(Writer $writer) {
43
44 $writer->writeElement('{DAV:}lockentry', [
45 '{DAV:}lockscope' => ['{DAV:}exclusive' => null],
46 '{DAV:}locktype' => ['{DAV:}write' => null],
47 ]);
48 $writer->writeElement('{DAV:}lockentry', [
49 '{DAV:}lockscope' => ['{DAV:}shared' => null],
50 '{DAV:}locktype' => ['{DAV:}write' => null],
51 ]);
52
53 }
54}
An exception for terminatinating execution or to throw for unit testing.
This class represents the {DAV:}supportedlock property.
xmlSerialize(Writer $writer)
The xmlSerialize method is called during xml writing.
The XML Writer class.
Definition: Writer.php:31
writeElement($name, $content=null)
Write a full element tag and it's contents.
Definition: Writer.php:189
Objects implementing XmlSerializable can control how they are represented in Xml.