Merge pull request #16422 from nextcloud/feature/noid/complement-search-string-inrequest-
set and complete the searched string
This commit is contained in:
commit
79eb5de0be
|
@ -91,6 +91,28 @@ interface ISearchRequest {
|
||||||
*/
|
*/
|
||||||
public function getSearch(): string;
|
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).
|
* Get the value of an option (as string).
|
||||||
|
|
Loading…
Reference in New Issue