ISearchQuery
Tags
Table of Contents
- getLimit() : int
- Get the maximum number of results to return
- getOffset() : int
- Get the offset for returned results
- getOrder() : \OCP\Files\Search\ISearchOrder[]
- The fields and directions to order by
- getSearchOperation() : ISearchOperator
- getUser() : IUser
- The user that issued the search
- limitToHome() : bool
- Whether or not the search should be limited to the users home storage
Methods
getLimit()
Get the maximum number of results to return
    public
                getLimit() : int
    
    
    
    Tags
Return values
int —getOffset()
Get the offset for returned results
    public
                getOffset() : int
    
    
    
    Tags
Return values
int —getOrder()
The fields and directions to order by
    public
                getOrder() : \OCP\Files\Search\ISearchOrder[]
    
    
    
    Tags
Return values
\OCP\Files\Search\ISearchOrder[] —getSearchOperation()
    public
                getSearchOperation() : ISearchOperator
    
    
    
    Tags
Return values
ISearchOperator —getUser()
The user that issued the search
    public
                getUser() : IUser
    
    
    
    Tags
Return values
IUser —limitToHome()
Whether or not the search should be limited to the users home storage
    public
                limitToHome() : bool