Lines Matching refs:DAV

6 use Sabre\DAV;
7 use Sabre\DAV\Exception\BadRequest;
8 use Sabre\DAV\INode;
9 use Sabre\DAV\MkCol;
10 use Sabre\DAV\Xml\Property\LocalHref;
28 class Plugin extends DAV\ServerPlugin {
49 * @var DAV\Server
78 if ($node instanceof DAV\IExtendedCollection) {
81 } catch (DAV\Exception\NotFound $e) {
117 * Returns a list of features for the DAV: HTTP header.
131 * using DAV\Server::getPlugin
144 * This will be used in the {DAV:}supported-report-set property.
167 $reports[] = '{DAV:}sync-collection';
176 * @param DAV\Server $server
179 function initialize(DAV\Server $server) {
295 // If the body had a {DAV:}resourcetype, it means we stumbled upon this
297 if (isset($properties['{DAV:}resourcetype'])) {
298 $resourceType = $properties['{DAV:}resourcetype']->getValue();
300 $resourceType = ['{DAV:}collection','{urn:ietf:params:xml:ns:caldav}calendar'];
319 * @param DAV\PropFind $propFind
320 * @param DAV\INode $node
323 function propFind(DAV\PropFind $propFind, DAV\INode $node) {
351 // the {DAV:}alternate-URI-set property.
681 throw new DAV\Exception\NotImplemented('The free-busy-query REPORT is only implemented on calendars');
746 * @param DAV\IFile $node
752 function beforeWriteContent($path, DAV\IFile $node, &$data, &$modified) {
785 * @param DAV\ICollection $parentNode
790 function beforeCreateFile($path, &$data, DAV\ICollection $parentNode, &$modified) {
846 throw new DAV\Exception\UnsupportedMediaType('This resource only supports valid iCalendar 2.0 data. Parse error: ' . $e->getMessage());
851 throw new DAV\Exception\UnsupportedMediaType('This collection can only support iCalendar objects.');
917 throw new DAV\Exception\UnsupportedMediaType('Validation error in iCalendar: ' . $message['message']);
973 $supportedPrivilegeSet['{DAV:}read']['aggregates']['{' . self::NS_CALDAV . '}read-free-busy'] = [
982 * DAV\Browser\Plugin. This allows us to generate an interface users
985 * @param DAV\INode $node
989 function htmlActionsPanel(DAV\INode $node, &$output) {
997 <input type="hidden" name="resourceType" value="{DAV:}collection,{' . self::NS_CALDAV . '}calendar" />
999 <label>Display name:</label> <input type="text" name="{DAV:}displayname" /><br />