Skip to content

Commit 9106871

Browse files
Merge pull request #53161 from nextcloud/docs/53002/calendar-search-impl
docs(caldav): update documentation for calendar search
2 parents 14cc8d3 + 27d042a commit 9106871

File tree

2 files changed

+0
-20
lines changed

2 files changed

+0
-20
lines changed

apps/dav/lib/CalDAV/CachedSubscriptionImpl.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -55,16 +55,6 @@ public function getDisplayColor(): ?string {
5555
return $this->calendarInfo['{http://apple.com/ns/ical/}calendar-color'];
5656
}
5757

58-
/**
59-
* @param string $pattern which should match within the $searchProperties
60-
* @param array $searchProperties defines the properties within the query pattern should match
61-
* @param array $options - optional parameters:
62-
* ['timerange' => ['start' => new DateTime(...), 'end' => new DateTime(...)]]
63-
* @param int|null $limit - limit number of search results
64-
* @param int|null $offset - offset for paging of search results
65-
* @return array an array of events/journals/todos which are arrays of key-value-pairs
66-
* @since 13.0.0
67-
*/
6858
public function search(string $pattern, array $searchProperties = [], array $options = [], $limit = null, $offset = null): array {
6959
return $this->backend->search($this->calendarInfo, $pattern, $searchProperties, $options, $limit, $offset);
7060
}

apps/dav/lib/CalDAV/CalendarImpl.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -93,16 +93,6 @@ public function getSchedulingTimezone(): ?VTimeZone {
9393
return $vtimezone;
9494
}
9595

96-
/**
97-
* @param string $pattern which should match within the $searchProperties
98-
* @param array $searchProperties defines the properties within the query pattern should match
99-
* @param array $options - optional parameters:
100-
* ['timerange' => ['start' => new DateTime(...), 'end' => new DateTime(...)]]
101-
* @param int|null $limit - limit number of search results
102-
* @param int|null $offset - offset for paging of search results
103-
* @return array an array of events/journals/todos which are arrays of key-value-pairs
104-
* @since 13.0.0
105-
*/
10696
public function search(string $pattern, array $searchProperties = [], array $options = [], $limit = null, $offset = null): array {
10797
return $this->backend->search($this->calendarInfo, $pattern,
10898
$searchProperties, $options, $limit, $offset);

0 commit comments

Comments
 (0)