Lines Matching refs:DAV

3 namespace Sabre\DAV\Browser;
5 use Sabre\DAV;
6 use Sabre\DAV\MkCol;
24 class Plugin extends DAV\ServerPlugin {
29 * @var Sabre\DAV\Server
49 '{DAV:}supportedlock',
50 '{DAV:}acl-restrictions',
51 '{DAV:}supported-privilege-set',
52 '{DAV:}supported-method-set',
72 * @param DAV\Server $server
75 function initialize(DAV\Server $server) {
129 } catch (DAV\Exception\NotFound $e) {
192 $resourceType = ['{DAV:}collection'];
270 if ($node instanceof DAV\ICollection) {
276 '{DAV:}displayname',
277 '{DAV:}resourcetype',
278 '{DAV:}getcontenttype',
279 '{DAV:}getcontentlength',
280 '{DAV:}getlastmodified',
300 if (isset($subProps['{DAV:}resourcetype'])) {
301 $type = $this->mapResourceType($subProps['{DAV:}resourcetype']->getValue(), $subProps['subNode']);
308 if (isset($subProps['{DAV:}getcontentlength'])) {
309 $html .= $this->escapeHTML($subProps['{DAV:}getcontentlength'] . ' bytes');
312 if (isset($subProps['{DAV:}getlastmodified'])) {
313 $lastMod = $subProps['{DAV:}getlastmodified']->getTime();
319 if ($subNode instanceof DAV\IFile) {
421 $version = DAV\Version::VERSION;
478 $version = DAV\Version::VERSION;
494 * @param DAV\INode $node
498 function htmlActionsPanel(DAV\INode $node, &$output) {
500 if (!$node instanceof DAV\ICollection)
505 if (get_class($node) === 'Sabre\\DAV\\SimpleCollection')
546 * @throws DAV\Exception\NotFound
556 throw new DAV\Exception\NotFound('Path does not exist, or escaping from the base path was detected');
561 throw new DAV\Exception\NotFound('Path does not exist, or escaping from the base path was detected');
605 $typeA = (isset($a['{DAV:}resourcetype']))
606 ? (in_array('{DAV:}collection', $a['{DAV:}resourcetype']->getValue()))
609 $typeB = (isset($b['{DAV:}resourcetype']))
610 ? (in_array('{DAV:}collection', $b['{DAV:}resourcetype']->getValue()))
631 if ($node instanceof DAV\IFile) {
681 '{DAV:}principal' => [
685 '{DAV:}collection' => [
749 $xml = $this->server->xml->write('{DAV:}root', $value, $this->server->getBaseUri());
766 * using \Sabre\DAV\Server::getPlugin