ISearchBinaryOperator
extends
ISearchOperator
in
Tags
Table of Contents
Constants
- OPERATOR_AND = 'and'
- OPERATOR_NOT = 'not'
- OPERATOR_OR = 'or'
Methods
- getArguments() : array<string|int, ISearchOperator>
- The arguments for the binary operator
- getQueryHint() : mixed
- Get a query builder hint by name
- getType() : string
- The type of binary operator
- setQueryHint() : void
- Get a query builder hint
Constants
OPERATOR_AND
public
mixed
OPERATOR_AND
= 'and'
Tags
OPERATOR_NOT
public
mixed
OPERATOR_NOT
= 'not'
Tags
OPERATOR_OR
public
mixed
OPERATOR_OR
= 'or'
Tags
Methods
getArguments()
The arguments for the binary operator
public
getArguments() : array<string|int, ISearchOperator>
One argument for the 'not' operator and two for 'and' and 'or'
Tags
Return values
array<string|int, ISearchOperator>getQueryHint()
Get a query builder hint by name
public
getQueryHint(string $name, mixed $default) : mixed
Parameters
- $name : string
- $default : mixed
Tags
getType()
The type of binary operator
public
getType() : string
One of the ISearchBinaryOperator::OPERATOR_* constants
Tags
Return values
stringsetQueryHint()
Get a query builder hint
public
setQueryHint(string $name, mixed $value) : void
Parameters
- $name : string
- $value : mixed