Nextcloud PHP API (stable18)

ISearchBinaryOperator extends ISearchOperator

Tags
since
12.0.0

Table of Contents

OPERATOR_AND  = 'and'
OPERATOR_NOT  = 'not'
OPERATOR_OR  = 'or'
getArguments()  : \OCP\Files\Search\ISearchOperator[]
The arguments for the binary operator
getType()  : string
The type of binary operator

Constants

Methods

getArguments()

The arguments for the binary operator

public getArguments() : \OCP\Files\Search\ISearchOperator[]

One argument for the 'not' operator and two for 'and' and 'or'

Tags
since
12.0.0
Return values
\OCP\Files\Search\ISearchOperator[]

getType()

The type of binary operator

public getType() : string

One of the ISearchBinaryOperator::OPERATOR_* constants

Tags
since
12.0.0
Return values
string

Search results