ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
SupportedLock.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Sabre\DAV\Xml\Property;
4 
7 
21 class SupportedLock implements XmlSerializable {
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 }
Objects implementing XmlSerializable can control how they are represented in Xml. ...
This class represents the {DAV:}supportedlock property.
xmlSerialize(Writer $writer)
The xmlSerialize method is called during xml writing.
writeElement($name, $content=null)
Write a full element tag and it&#39;s contents.
Definition: Writer.php:189
The XML Writer class.
Definition: Writer.php:31