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  : mixed = 9
COMPARE_TYPE_BOOL  : mixed = 8
COMPARE_TYPE_INT_EQ  : mixed = 3
COMPARE_TYPE_INT_GT  : mixed = 5
COMPARE_TYPE_INT_GTE  : mixed = 4
COMPARE_TYPE_INT_LT  : mixed = 7
COMPARE_TYPE_INT_LTE  : mixed = 6
COMPARE_TYPE_KEYWORD  : mixed = 2
COMPARE_TYPE_REGEX  : mixed = 10
COMPARE_TYPE_TEXT  : mixed = 1
COMPARE_TYPE_WILDCARD  : mixed = 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