Nextcloud PHP API (master)

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

Constants

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

Methods

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<string|int, mixed>
Get the all values to compare
setField()  : ISearchRequestSimpleQuery
Set the field to apply query

Constants

Methods

getValues()

Get the all values to compare

public getValues() : array<string|int, mixed>
Tags
since
17.0.0
Return values
array<string|int, mixed>

        
On this page

Search results