|
DataFaucet 1.0 Beta | ||||
| FRAMES | |||||
WEB-INF.cftags.component
datafaucet.system.sql.duck
datafaucet.system.sql.simplefiltergroup
datafaucet.system.sql.collectionfilter
datafaucet.system.sql.andorcollectionfilter
public class andorcollectionfilter
filters a query using a collection (typically form input) to generate and-or filters for each column indicated in the collection
| Constructor Summary | |
|---|---|
init(struct content, [boolean include], [boolean bindFilters='[runtime expression]'], [struct keywords], [any table=''])
|
|
| Method Summary | |
|---|---|
private any |
initFilter(any filter, string column, string content, any keywords)
|
private void |
makeFilters()
|
| Methods inherited from class datafaucet.system.sql.collectionfilter |
|---|
getFilterDates, getFilterNumbers, getORMCollection, hasFilters, makeDateFilter, makeNumericFilter, newFilter, setRangeFilter, set_content
|
| Methods inherited from class WEB-INF.cftags.component |
|---|
|
| Constructor Detail |
|---|
public init(struct content, [boolean include], [boolean bindFilters='[runtime expression]'], [struct keywords], [any table=''])
content - a structure containing search phrases for each key in the structureinclude - and / or -- determines whether the filters are cumulative or exclusivebindFilters - indicates if the created group of filters should be returned as a contained group (adds parenthesis around the sql syntax)keywords - a structure containing the keys and/or containing localized strings for use in parsing the searchphrasetable - an object of type statement.cfc| Method Detail |
|---|
private any initFilter(any filter, string column, string content, any keywords)
filtercolumncontentkeywordsprivate void makeFilters()
makeFilters
in class
collectionfilter
|
DataFaucet 1.0 Beta | ||||
| FRAMES | |||||