\Pop\Form\FilterFilterInterface

Form filter interface

Summary

Methods
Constants
setCallable()
setParams()
setExcludeByType()
setExcludeByName()
getCallable()
getParams()
getExcludeByType()
getExcludeByName()
hasCallable()
hasParams()
hasExcludeByType()
hasExcludeByName()
filter()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

setCallable()

setCallable(callable  $callable) : \Pop\Form\Filter\FilterInterface

Set callable

Parameters

callable $callable

Returns

\Pop\Form\Filter\FilterInterface

setExcludeByType()

setExcludeByType(mixed  $excludeByType) : \Pop\Form\Filter\FilterInterface

Set exclude by type

Parameters

mixed $excludeByType

Returns

\Pop\Form\Filter\FilterInterface

setExcludeByName()

setExcludeByName(mixed  $excludeByName) : \Pop\Form\Filter\FilterInterface

Set exclude by name

Parameters

mixed $excludeByName

Returns

\Pop\Form\Filter\FilterInterface

getCallable()

getCallable() : callable

Get callable

Returns

callable

getParams()

getParams() : array

Get params

Returns

array

getExcludeByType()

getExcludeByType() : array

Get exclude by type

Returns

array

getExcludeByName()

getExcludeByName() : array

Get exclude by name

Returns

array

hasCallable()

hasCallable() : boolean

Has callable

Returns

boolean

hasParams()

hasParams() : boolean

Has params

Returns

boolean

hasExcludeByType()

hasExcludeByType() : boolean

Has exclude by type

Returns

boolean

hasExcludeByName()

hasExcludeByName() : boolean

Has exclude by name

Returns

boolean

filter()

filter(mixed  $value, mixed  $type = null, string  $name = null) : mixed

Filter value

Parameters

mixed $value
mixed $type
string $name

Returns

mixed