Documentation

SQLFilter implements ISQLFilter

A SQL where statement

Tags
deprecated

Stupid

Table of Contents

$conditions Conditions array
__construct() mixed
addWhere() Add some condition to the group void
getFilter() Retrieve the condition group as a string string
getValues() Retrieve a list of values array

Properties

Methods

addWhere()

Add some condition to the group

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 condition group as a string

public getFilter( ) : string
Return values
string

condition

getValues()

Retrieve a list of values

public getValues( ) : array
Return values
array

values

Search results