summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2019-07-16 22:13:42 +0200
committerGitHub <noreply@github.com>2019-07-16 22:13:42 +0200
commit79eb5de0be9599806e75e7bbd4a64779d1814d17 (patch)
tree811bed26191ccdef9648fa7ec43ccfce503e329d
parentb73ef3dd4488fc9e25bf0f00990d1910aa22876f (diff)
parent462c29311196532d449e41bb8a115768d1f0367d (diff)
downloadnextcloud-server-79eb5de0be9599806e75e7bbd4a64779d1814d17.tar.gz
nextcloud-server-79eb5de0be9599806e75e7bbd4a64779d1814d17.zip
Merge pull request #16422 from nextcloud/feature/noid/complement-search-string-inrequest-
set and complete the searched string
-rw-r--r--lib/public/FullTextSearch/Model/ISearchRequest.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/public/FullTextSearch/Model/ISearchRequest.php b/lib/public/FullTextSearch/Model/ISearchRequest.php
index c7e96913018..6874cf161b6 100644
--- a/lib/public/FullTextSearch/Model/ISearchRequest.php
+++ b/lib/public/FullTextSearch/Model/ISearchRequest.php
@@ -91,6 +91,28 @@ interface ISearchRequest {
*/
public function getSearch(): string;
+ /**
+ * Set the searched string.
+ *
+ * @param string $search
+ *
+ * @since 17.0.0
+ *
+ * @return ISearchRequest
+ */
+ public function setSearch(string $search): ISearchRequest;
+
+ /**
+ * Extends the searched string.
+ *
+ * @since 17.0.0
+ *
+ * @param string $search
+ *
+ * @return ISearchRequest
+ */
+ public function addSearch(string $search): ISearchRequest;
+
/**
* Get the value of an option (as string).