Module
AndFilter
AndFilter ( f )
A container Filter that allows Boolean AND composition of Filters.
|
Method Summary
Returns | Name | Description |
---|---|---|
String | _type() | The type of ejs object. For internal use only. |
Object | cache(trueFalse) | Enable or disable caching of the filter |
Object | cacheKey(key) | Sets the cache key. |
Object | filters(fltr) | Sets the filters for the filter. If fltr is a single Filter, it is added to the current filters. If fltr is an array of Filters, then they replace all existing filters. |
Object | name(name) | Sets the filter name. |
Object | toJSON() | Returns the filter object. |
Method Detail
cache
Object cache ( trueFalse )
Enable or disable caching of the filter
|
cacheKey
Object cacheKey ( key )
Sets the cache key.
|
filters
Object filters ( fltr )
Sets the filters for the filter. If fltr is a single
Filter, it is added to the current filters. If fltr is an array
of Filters, then they replace all existing filters.
|
name
Object name ( name )
Sets the filter name.
|