summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/CalDAV/CalendarHome.php
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2017-03-25 11:56:40 +0100
committerGeorg Ehrke <developer@georgehrke.com>2017-04-24 22:38:20 +0200
commit57b543a9188f84031d81713117f3df515ab13e84 (patch)
treee7770185645c5d46609ccc10671250db531817ce /apps/dav/lib/CalDAV/CalendarHome.php
parentd01832ff64652f3e52fa41cccb19f122701af2c8 (diff)
downloadnextcloud-server-57b543a9188f84031d81713117f3df515ab13e84.tar.gz
nextcloud-server-57b543a9188f84031d81713117f3df515ab13e84.zip
add Nextcloud Search extension to CalDAV
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'apps/dav/lib/CalDAV/CalendarHome.php')
-rw-r--r--apps/dav/lib/CalDAV/CalendarHome.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/dav/lib/CalDAV/CalendarHome.php b/apps/dav/lib/CalDAV/CalendarHome.php
index 7320754e6df..2aa2c9caa36 100644
--- a/apps/dav/lib/CalDAV/CalendarHome.php
+++ b/apps/dav/lib/CalDAV/CalendarHome.php
@@ -111,4 +111,14 @@ class CalendarHome extends \Sabre\CalDAV\CalendarHome {
throw new NotFound('Node with name \'' . $name . '\' could not be found');
}
+
+ /**
+ * @param array $filters
+ * @param integer|null $limit
+ * @param integer|null $offset
+ */
+ function calendarSearch(array $filters, $limit=null, $offset=null) {
+ $principalUri = $this->principalInfo['uri'];
+ return $this->caldavBackend->calendarSearch($principalUri, $filters, $limit, $offset);
+ }
}