Nextcloud PHP API (stable19)

ISearchRequestSimpleQuery

Interface ISearchRequestSimpleQuery

Add a Query during a Search Request...

  • on a specific field,
  • using a specific value,
  • with a specific comparison
Tags
since
17.0.0

Table of Contents

COMPARE_TYPE_ARRAY  = 9
COMPARE_TYPE_BOOL  = 8
COMPARE_TYPE_INT_EQ  = 3
COMPARE_TYPE_INT_GT  = 5
COMPARE_TYPE_INT_GTE  = 4
COMPARE_TYPE_INT_LT  = 7
COMPARE_TYPE_INT_LTE  = 6
COMPARE_TYPE_KEYWORD  = 2
COMPARE_TYPE_REGEX  = 10
COMPARE_TYPE_TEXT  = 1
COMPARE_TYPE_WILDCARD  = 11
addValue()  : ISearchRequestSimpleQuery
Add value to compare (string)
addValueArray()  : ISearchRequestSimpleQuery
Add value to compare (array)
addValueBool()  : ISearchRequestSimpleQuery
Add value to compare (bool)
addValueInt()  : ISearchRequestSimpleQuery
Add value to compare (int)
getField()  : string
Get the field to apply query
getType()  : int
Get the compare type of the query
getValues()  : array
Get the all values to compare
setField()  : ISearchRequestSimpleQuery
Set the field to apply query

Constants

Methods

getField()

Get the field to apply query

public getField() : string
Tags
since
17.0.0
Return values
string

getValues()

Get the all values to compare

public getValues() : array
Tags
since
17.0.0
Return values
array

Search results