Lines Matching refs:server

54     protected $server;  variable in Sabre\\DAVACL\\Plugin
232 $authPlugin = $this->server->getPlugin('auth');
289 $node = $this->server->tree->getNodeForPath($principal);
328 $node = $this->server->tree->getNodeForPath($node);
473 $node = $this->server->tree->getNodeForPath($node);
504 $node = $this->server->tree->getNodeForPath($node);
590 $principalCollection = $this->server->tree->getNodeForPath($collection);
640 $principalCollection = $this->server->tree->getNodeForPath($uri);
658 … list($matches[]) = $this->server->getPropertiesForPath($lookupResult, $requestedProperties, 0);
674 function initialize(DAV\Server $server) { argument
676 $this->server = $server;
677 $server->on('propFind', [$this, 'propFind'], 20);
678 $server->on('beforeMethod', [$this, 'beforeMethod'], 20);
679 $server->on('beforeBind', [$this, 'beforeBind'], 20);
680 $server->on('beforeUnbind', [$this, 'beforeUnbind'], 20);
681 $server->on('propPatch', [$this, 'propPatch']);
682 $server->on('beforeUnlock', [$this, 'beforeUnlock'], 20);
683 $server->on('report', [$this, 'report']);
684 $server->on('method:ACL', [$this, 'httpAcl']);
685 $server->on('onHTMLActionsPanel', [$this, 'htmlActionsPanel']);
687 array_push($server->protectedProperties,
704 $server->resourceTypeMapping['Sabre\\DAVACL\\IPrincipal'] = '{DAV:}principal';
708 $server->xml->elementMap['{DAV:}group-member-set'] = 'Sabre\\DAV\\Xml\\Property\\Href';
709 $server->xml->elementMap['{DAV:}acl'] = 'Sabre\\DAVACL\\Xml\\Property\\Acl';
710 …$server->xml->elementMap['{DAV:}expand-property'] = 'Sabre\\DAVACL\\Xml\\Request\\ExpandPropertyRe…
711 …$server->xml->elementMap['{DAV:}principal-property-search'] = 'Sabre\\DAVACL\\Xml\\Request\\Princi…
712 …$server->xml->elementMap['{DAV:}principal-search-property-set'] = 'Sabre\\DAVACL\\Xml\\Request\\Pr…
730 $exists = $this->server->tree->nodeExists($path);
957 [$this->server, 'calculateUri'],
963 $node = $this->server->tree->getNodeForPath($path);
991 $this->server->transactionType = 'report-principal-property-search';
995 $this->server->transactionType = 'report-principal-search-property-set';
999 $this->server->transactionType = 'report-expand-property';
1023 $acl = $this->server->xml->expect('{DAV:}acl', $body);
1028 $newAcl[$k]['principal'] = $this->server->calculateUri($newAce['principal']);
1030 $node = $this->server->tree->getNodeForPath($path);
1074 $principal = $this->server->tree->getNodeForPath($newAce['principal']);
1112 $depth = $this->server->getHTTPDepth(0);
1113 $requestUri = $this->server->getRequestUri();
1117 $xml = $this->server->xml->write(
1120 $this->server->getBaseUri()
1122 $this->server->httpResponse->setHeader('Content-Type', 'application/xml; charset=utf-8');
1123 $this->server->httpResponse->setStatus(207);
1124 $this->server->httpResponse->setBody($xml);
1139 …$foundProperties = $this->server->getPropertiesForPath($path, array_keys($requestedProperties), $d…
1194 $httpDepth = $this->server->getHTTPDepth(0);
1199 $writer = $this->server->xml->getWriter();
1229 $this->server->httpResponse->setHeader('Content-Type', 'application/xml; charset=utf-8');
1230 $this->server->httpResponse->setStatus(200);
1231 $this->server->httpResponse->setBody($writer->outputMemory());
1250 $uri = $this->server->httpRequest->getPath();
1252 if ($this->server->getHttpDepth('0') !== 0) {
1262 $prefer = $this->server->getHTTPPrefer();
1264 $this->server->httpResponse->setStatus(207);
1265 $this->server->httpResponse->setHeader('Content-Type', 'application/xml; charset=utf-8');
1266 $this->server->httpResponse->setHeader('Vary', 'Brief,Prefer');
1267 …$this->server->httpResponse->setBody($this->server->generateMultiStatus($result, $prefer['return']…