Lines Matching refs:DAV

6 use Sabre\DAV;
7 use Sabre\DAV\Exception\BadRequest;
8 use Sabre\DAV\MkCol;
9 use Sabre\DAV\Xml\Property\Href;
27 class Plugin extends DAV\ServerPlugin {
48 * @var DAV\Server
77 if ($node instanceof DAV\IExtendedCollection) {
80 } catch (DAV\Exception\NotFound $e) {
106 * Returns a list of features for the DAV: HTTP header.
120 * using DAV\Server::getPlugin
133 * This will be used in the {DAV:}supported-report-set property.
156 $reports[] = '{DAV:}sync-collection';
165 * @param DAV\Server $server
168 function initialize(DAV\Server $server) {
281 // If the body had a {DAV:}resourcetype, it means we stumbled upon this
283 if (isset($properties['{DAV:}resourcetype'])) {
284 $resourceType = $properties['{DAV:}resourcetype']->getValue();
286 $resourceType = ['{DAV:}collection','{urn:ietf:params:xml:ns:caldav}calendar'];
305 * @param DAV\PropFind $propFind
306 * @param DAV\INode $node
309 function propFind(DAV\PropFind $propFind, DAV\INode $node) {
336 // the {DAV:}alternate-URI-set property.
649 throw new DAV\Exception\NotImplemented('The free-busy-query REPORT is only implemented on calendars');
712 * @param DAV\IFile $node
718 function beforeWriteContent($path, DAV\IFile $node, &$data, &$modified) {
751 * @param DAV\ICollection $parentNode
756 function beforeCreateFile($path, &$data, DAV\ICollection $parentNode, &$modified) {
795 $data = DAV\StringUtil::ensureUTF8($data);
816 throw new DAV\Exception\UnsupportedMediaType('This resource only supports valid iCalendar 2.0 data. Parse error: ' . $e->getMessage());
821 throw new DAV\Exception\UnsupportedMediaType('This collection can only support iCalendar objects.');
851 throw new DAV\Exception\BadRequest('Every ' . $component->name . ' component must have an UID');
856 throw new DAV\Exception\BadRequest('A calendar object must only contain 1 component. We found a ' . $component->name . ' as well as a ' . $foundType);
859 throw new DAV\Exception\BadRequest('Every ' . $component->name . ' in this object must have identical UIDs');
864 throw new DAV\Exception\BadRequest('You are not allowed to create components of type: ' . $component->name . ' here');
869 throw new DAV\Exception\BadRequest('iCalendar object must contain at least 1 of VEVENT, VTODO or VJOURNAL');
905 * DAV\Browser\Plugin. This allows us to generate an interface users
908 * @param DAV\INode $node
912 function htmlActionsPanel(DAV\INode $node, &$output) {
920 <input type="hidden" name="resourceType" value="{DAV:}collection,{' . self::NS_CALDAV . '}calendar" />
922 <label>Display name:</label> <input type="text" name="{DAV:}displayname" /><br />