芝麻web文件管理V1.00
编辑当前文件:/home/pulsehostuk9/public_html/cloud.pulsehost.co.uk/vendor/sabre/dav/lib/DAV/Xml/Request/Lock.php
next(); * * $reader->parseInnerTree() will parse the entire sub-tree, and advance to * the next element. * * @return mixed */ public static function xmlDeserialize(Reader $reader) { $reader->pushContext(); $reader->elementMap['{DAV:}owner'] = 'Sabre\\Xml\\Element\\XmlFragment'; $values = KeyValue::xmlDeserialize($reader); $reader->popContext(); $new = new self(); $new->owner = !empty($values['{DAV:}owner']) ? $values['{DAV:}owner']->getXml() : null; $new->scope = LockInfo::SHARED; if (isset($values['{DAV:}lockscope'])) { foreach ($values['{DAV:}lockscope'] as $elem) { if ('{DAV:}exclusive' === $elem['name']) { $new->scope = LockInfo::EXCLUSIVE; } } } return $new; } }