ISearchQuery

interface OCP\Files\Search\ISearchQuery
Implemented by:OC\Files\Search\SearchQuery
Source:lib/public/Files/Search/ISearchQuery.php#31

Methods

public OCP\Files\Search\ISearchQuery::getSearchOperation()
Source:lib/public/Files/Search/ISearchQuery.php#36
Returns:\OCP\Files\Search\ISearchOperator
Since:12.0.0
public OCP\Files\Search\ISearchQuery::getLimit()
Get the maximum number of results to return
Source:lib/public/Files/Search/ISearchQuery.php#44
Returns:int
Since:12.0.0
public OCP\Files\Search\ISearchQuery::getOffset()
Get the offset for returned results
Source:lib/public/Files/Search/ISearchQuery.php#52
Returns:int
Since:12.0.0
public OCP\Files\Search\ISearchQuery::getOrder()
The fields and directions to order by
Source:lib/public/Files/Search/ISearchQuery.php#60
Returns:\OCP\Files\Search\ISearchOrder[]
Since:12.0.0
public OCP\Files\Search\ISearchQuery::getUser()
The user that issued the search
Source:lib/public/Files/Search/ISearchQuery.php#68
Returns:?\OCP\IUser
Since:12.0.0
public OCP\Files\Search\ISearchQuery::limitToHome()
Whether or not the search should be limited to the users home storage
Source:lib/public/Files/Search/ISearchQuery.php#76
Returns:bool
Since:18.0.0