Documentation

Comparison
in package
implements Expression

Comparison of a field with a value by the given operator.

Table of Contents

Interfaces

Expression
Expression for the {@link Selectable} interface.

Constants

CONTAINS  = 'CONTAINS'
ENDS_WITH  = 'ENDS_WITH'
EQ  = '='
GT  = '>'
GTE  = '>='
IN  = 'IN'
IS  = '='
LT  = '<'
LTE  = '<='
MEMBER_OF  = 'MEMBER_OF'
NEQ  = '<>'
NIN  = 'NIN'
STARTS_WITH  = 'STARTS_WITH'

Properties

$field  : string
$op  : string
$value  : Value

Methods

__construct()  : mixed
getField()  : string
getOperator()  : string
getValue()  : Value
visit()  : mixed

Constants

STARTS_WITH

public mixed STARTS_WITH = 'STARTS_WITH'

Properties

Methods

__construct()

public __construct(string $field, string $operator, mixed $value) : mixed
Parameters
$field : string
$operator : string
$value : mixed

getField()

public getField() : string
Return values
string

getOperator()

public getOperator() : string
Return values
string

        
On this page

Search results