70 foreach ($this->locks as $lock) {
81 $writer->endElement();
85 $writer->endElement();
87 if (!self::$hideLockRoot) {
89 $writer->
writeElement(
'{DAV:}href', $writer->contextUri . $lock->uri);
90 $writer->endElement();
93 $writer->
writeElement(
'{DAV:}timeout',
'Second-' . $lock->timeout);
96 $writer->
writeElement(
'{DAV:}href',
'opaquelocktoken:' . $lock->token);
97 $writer->endElement();
100 $writer->endElement();
Objects implementing XmlSerializable can control how they are represented in Xml. ...
The XmlFragment element allows you to extract a portion of your xml tree, and get a well-formed xml s...
startElement($name)
Opens a new element.
Represents {DAV:}lockdiscovery property.
const DEPTH_INFINITY
Infinity is used for some request supporting the HTTP Depth header and indicates that the operation s...
const SHARED
A shared lock.
xmlSerialize(Writer $writer)
The serialize method is called during xml writing.
__construct($locks)
__construct
writeElement($name, $content=null)
Write a full element tag and it's contents.