\FAA\Obj\SearchFilterHigher

Search filter object This is the is lower filter.

Summary

Methods
Properties
Constants
Field()
ToSqlQuery()
ToQuery()
IsOr()
__construct()
No public properties found
No constants found
No protected methods found
$field
$value
N/A
No private methods found
$or_equal
$is_or
N/A

Properties

$field

$field :

Type

$value

$value :

Type

$or_equal

$or_equal :

Type

$is_or

$is_or :

Type

Methods

Field()

Field()

ToQuery()

ToQuery(): string

Create query Convert to solr search query like length:[* TO 200]

Returns

string —

The search query

IsOr()

IsOr(): boolean

Is or When merged with other filter use OR instead of AND

Returns

boolean —

Is or merge

__construct()

__construct(string  $field,string  $value,boolean  $or_equal = false,boolean  $is_or = false)

FilterHigher constructor.

A higher filter with field and option to be equal

Parameters

string $field

Name of the search field

string $value

The search value

boolean $or_equal

Enable is lower or equal

boolean $is_or

Merge with other filters with or