ISQLFilter extends IFilter
Filters used for SQL repositories
WARNING: This interface sucks and will likely go through significant changes in a future release.
Tags
Table of Contents
addWhere() | Adds a where condition | void |
---|---|---|
getFilter() | Retrieve the filter string | string |
getValues() | Retrieve a list of values. | array |
Methods
addWhere()
Adds a where condition
public
addWhere(
$condition :
ICondition
[, $or :
bool
= false ]
)
: void
Parameters
- $condition : ICondition
Condition to add
- $or : bool = false
Separate by "or" instead of "and"
getFilter()
Retrieve the filter string
public
getFilter(
)
: string
Return values
string —filter
getValues()
Retrieve a list of values.
public
getValues(
)
: array
Return values
array —values