Nextcloud PHP API (master)

ISearchQuery

Tags
since
12.0.0

Table of Contents

Methods

getLimit()  : int
Get the maximum number of results to return
getOffset()  : int
Get the offset for returned results
getOrder()  : array<string|int, ISearchOrder>
The fields and directions to order by
getSearchOperation()  : ISearchOperator
getSelectFields()  : array<int, string>
The fields to include in the search results
getUser()  : IUser|null
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
since
12.0.0
Return values
int

getOffset()

Get the offset for returned results

public getOffset() : int
Tags
since
12.0.0
Return values
int

getSelectFields()

The fields to include in the search results

public getSelectFields() : array<int, string>
Tags
since
35.0.0
Return values
array<int, string>

getUser()

The user that issued the search

public getUser() : IUser|null
Tags
since
12.0.0
Return values
IUser|null

limitToHome()

Whether or not the search should be limited to the users home storage

public limitToHome() : bool
Tags
since
18.0.0
Return values
bool
On this page

Search results