Properties

$name

$name : 

Type

$request

$request : 

Type

$prefix

$prefix : 

Type

$filterTypeHelper

$filterTypeHelper : 

Type

$selectModifier

$selectModifier : 

Type

$defaultVarsHelper

$defaultVarsHelper : 

Type

Methods

__construct()

__construct(\Dewdrop\Request  $request) 

Parameters

\Dewdrop\Request $request

isQueryStringParamNotRelatedToFiltering()

isQueryStringParamNotRelatedToFiltering(  $paramName,   $paramPrefix) 

Parameters

$paramName
$paramPrefix

setPrefix()

setPrefix(string  $prefix) : mixed

Set a prefix that should be used when pulling information from the request.

Parameters

string $prefix

Returns

mixed

getPrefix()

getPrefix() : string

Get the prefix used for request parameters.

Returns

string

matchesName()

matchesName(string  $name) : boolean

Check to see if the SelectModifier matches the supplied name.

Parameters

string $name

Returns

boolean

getDefaultVarsHelper()

getDefaultVarsHelper() 

getFilterTypeHelper()

getFilterTypeHelper() 

getSelectModifier()

getSelectModifier() 

modifySelect()

modifySelect(\Dewdrop\Fields  $fields, \Dewdrop\Db\Select  $select) : \Dewdrop\Db\Select

Using the supplied \Dewdrop\Fields and \Dewdrop\Db\Select, modify the Select and return it.

Parameters

\Dewdrop\Fields $fields
\Dewdrop\Db\Select $select

Returns

\Dewdrop\Db\Select

addCustomFilter()

addCustomFilter(  $filter, array  $vars) 

Parameters

$filter
array $vars

hasFilters()

hasFilters(\Dewdrop\Fields  $fields = null) 

Parameters

\Dewdrop\Fields $fields

hasFiltersWithoutFields()

hasFiltersWithoutFields() : boolean

This is a fallback to an old hacky version of hasFilters() that didn't require the $fields param. If you call hasFilters() with no value for the $fields param, you'll end up here. This won't catch cases where a filter was added via DefaultVars.

Returns

boolean