ISearchComparison extends ISearchOperator
Tags
Table of Contents
- COMPARE_EQUAL = 'eq'
- COMPARE_GREATER_THAN = 'gt'
- COMPARE_GREATER_THAN_EQUAL = 'gte'
- COMPARE_LESS_THAN = 'lt'
- COMPARE_LESS_THAN_EQUAL = 'lte'
- COMPARE_LIKE = 'like'
- getField() : string
- Get the name of the field to compare with
- getType() : string
- Get the type of comparison, one of the ISearchComparison::COMPARE_* constants
- getValue() : string|int|DateTime
- Get the value to compare the field with
Constants
COMPARE_EQUAL
public
mixed
COMPARE_EQUAL
= 'eq'
COMPARE_GREATER_THAN
public
mixed
COMPARE_GREATER_THAN
= 'gt'
COMPARE_GREATER_THAN_EQUAL
public
mixed
COMPARE_GREATER_THAN_EQUAL
= 'gte'
COMPARE_LESS_THAN
public
mixed
COMPARE_LESS_THAN
= 'lt'
COMPARE_LESS_THAN_EQUAL
public
mixed
COMPARE_LESS_THAN_EQUAL
= 'lte'
COMPARE_LIKE
public
mixed
COMPARE_LIKE
= 'like'
Methods
getField()
Get the name of the field to compare with
public
getField() : string
i.e. 'size', 'name' or 'mimetype'
Tags
Return values
string —getType()
Get the type of comparison, one of the ISearchComparison::COMPARE_* constants
public
getType() : string
Tags
Return values
string —getValue()
Get the value to compare the field with
public
getValue() : string|int|DateTime