SQLCondition implements ISQLCondition
A SQL Condition
Tags
Table of Contents
$property | Property | string |
---|---|---|
$operator | Operator | ESQLOperator |
$value | Value | mixed |
__construct() | mixed | |
getProperty() | Retrieve the property | string |
getOperator() | Retrieve the operator | ESQLOperator |
getValue() | Retrieve the value | mixed |
getCondition() | Retrieve the condition as a string | string |
getValues() | Retrieve a list of values | array |
__toString() | Retrieve the condition as a string | string |
Properties
$property
Property
private
string
$property
$operator
Operator
private
ESQLOperator
$operator
$value
Value
private
mixed
$value
Methods
__construct()
public
__construct(
$property :
string
, $operator :
ESQLOperator
, $value :
mixed
)
: mixed
Parameters
- $property : string
- $operator : ESQLOperator
- $value : mixed
Return values
mixedgetProperty()
Retrieve the property
public
getProperty(
)
: string
Return values
string —property
getOperator()
Retrieve the operator
public
getOperator(
)
: ESQLOperator
Return values
ESQLOperator —operator
getValue()
Retrieve the value
public
getValue(
)
: mixed
Return values
mixed —value
getCondition()
Retrieve the condition as a string
public
getCondition(
)
: string
Return values
string —condition
getValues()
Retrieve a list of values
public
getValues(
)
: array
Return values
array —values
__toString()
Retrieve the condition as a string
public
__toString(
)
: string
Return values
string —condition