Lines Matching refs:server

50     protected $server;  variable in Sabre\\CalDAV\\Plugin
75 $node = $this->server->tree->getNodeForPath($parent);
142 $node = $this->server->tree->getNodeForPath($uri);
155 if ($node instanceof CalendarHome && $this->server->getPlugin('sync')) {
168 function initialize(DAV\Server $server) { argument
170 $this->server = $server;
172 $server->on('method:MKCALENDAR', [$this, 'httpMkCalendar']);
173 $server->on('report', [$this, 'report']);
174 $server->on('propFind', [$this, 'propFind']);
175 $server->on('onHTMLActionsPanel', [$this, 'htmlActionsPanel']);
176 $server->on('beforeCreateFile', [$this, 'beforeCreateFile']);
177 $server->on('beforeWriteContent', [$this, 'beforeWriteContent']);
178 $server->on('afterMethod:GET', [$this, 'httpAfterGET']);
180 $server->xml->namespaceMap[self::NS_CALDAV] = 'cal';
181 $server->xml->namespaceMap[self::NS_CALENDARSERVER] = 'cs';
183 …$server->xml->elementMap['{' . self::NS_CALDAV . '}calendar-query'] = 'Sabre\\CalDAV\\Xml\\Request…
184 …$server->xml->elementMap['{' . self::NS_CALDAV . '}calendar-multiget'] = 'Sabre\\CalDAV\\Xml\\Requ…
185 …$server->xml->elementMap['{' . self::NS_CALDAV . '}free-busy-query'] = 'Sabre\\CalDAV\\Xml\\Reques…
186 …$server->xml->elementMap['{' . self::NS_CALDAV . '}mkcalendar'] = 'Sabre\\CalDAV\\Xml\\Request\\Mk…
187 …$server->xml->elementMap['{' . self::NS_CALDAV . '}schedule-calendar-transp'] = 'Sabre\\CalDAV\\Xm…
188 …$server->xml->elementMap['{' . self::NS_CALDAV . '}supported-calendar-component-set'] = 'Sabre\\Ca…
190 …$server->resourceTypeMapping['\\Sabre\\CalDAV\\ICalendar'] = '{urn:ietf:params:xml:ns:caldav}calen…
192 …$server->resourceTypeMapping['\\Sabre\\CalDAV\\Principal\\IProxyRead'] = '{http://calendarserver.o…
193 …$server->resourceTypeMapping['\\Sabre\\CalDAV\\Principal\\IProxyWrite'] = '{http://calendarserver.…
195 array_push($server->protectedProperties,
215 if ($aclPlugin = $server->getPlugin('acl')) {
231 $this->server->transactionType = 'report-calendar-multiget';
235 $this->server->transactionType = 'report-calendar-query';
239 $this->server->transactionType = 'report-free-busy-query';
266 $mkcalendar = $this->server->xml->expect(
289 $this->server->createCollection($path, new MkCol($resourceType, $properties));
291 $this->server->httpResponse->setStatus(201);
292 $this->server->httpResponse->setHeader('Content-Length', 0);
339 $addresses[] = $this->server->getBaseUri() . $node->getPrincipalUrl() . '/';
362 $aclPlugin = $this->server->getPlugin('acl');
369 $groupNode = $this->server->tree->getNodeForPath($group);
428 [$this->server, 'calculateUri'],
432 …foreach ($this->server->getPropertiesForMultiplePaths($paths, $report->properties) as $uri => $obj…
444 $tzResult = $this->server->getProperties($calendarPath, [$tzProp]);
470 $prefer = $this->server->getHTTPPrefer();
472 $this->server->httpResponse->setStatus(207);
473 $this->server->httpResponse->setHeader('Content-Type', 'application/xml; charset=utf-8');
474 $this->server->httpResponse->setHeader('Vary', 'Brief,Prefer');
475 …$this->server->httpResponse->setBody($this->server->generateMultiStatus($propertyList, $prefer['re…
490 $path = $this->server->getRequestUri();
494 $node = $this->server->tree->getNodeForPath($this->server->getRequestUri());
495 $depth = $this->server->getHTTPDepth(0);
505 $tzResult = $this->server->getProperties($path, [$tzProp]);
535 $properties = $this->server->getPropertiesForPath(
581 if (strpos($this->server->httpRequest->getHeader('User-Agent'), 'MSFT-WP/') === 0) {
601 …$this->server->getPropertiesForPath($this->server->getRequestUri() . '/' . $path, $report->propert…
622 $prefer = $this->server->getHTTPPrefer();
624 $this->server->httpResponse->setStatus(207);
625 $this->server->httpResponse->setHeader('Content-Type', 'application/xml; charset=utf-8');
626 $this->server->httpResponse->setHeader('Vary', 'Brief,Prefer');
627 …$this->server->httpResponse->setBody($this->server->generateMultiStatus($result, $prefer['return']…
640 $uri = $this->server->getRequestUri();
642 $acl = $this->server->getPlugin('acl');
647 $calendar = $this->server->tree->getNodeForPath($uri);
656 $calendarProps = $this->server->getProperties($uri, [$tzProp]);
698 $this->server->httpResponse->setStatus(200);
699 $this->server->httpResponse->setHeader('Content-Type', 'text/calendar');
700 $this->server->httpResponse->setHeader('Content-Length', strlen($result));
701 $this->server->httpResponse->setBody($result);
727 $parentNode = $this->server->tree->getNodeForPath($parent);
736 $this->server->httpRequest,
737 $this->server->httpResponse,
765 $this->server->httpRequest,
766 $this->server->httpResponse,
828 $calendarProperties = $this->server->getProperties($parentPath, [$sCCS]);
877 $this->server->emit(