\Pop\FilterFilterInterface

Filter interface

Summary

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

Methods

setCallable()

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

Set callable

Parameters

mixed $callable

Returns

\Pop\Filter\FilterInterface

setParams()

setParams(mixed  $params) : \Pop\Filter\FilterInterface

Set params

Parameters

mixed $params

Returns

\Pop\Filter\FilterInterface

setExcludeByName()

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

Set exclude by name

Parameters

mixed $excludeByName

Returns

\Pop\Filter\FilterInterface

setExcludeByType()

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

Set exclude by type

Parameters

mixed $excludeByType

Returns

\Pop\Filter\FilterInterface

getCallable()

getCallable() : \Pop\Utils\CallableObject

Get callable

Returns

\Pop\Utils\CallableObject

getParams()

getParams() : array

Get params

Returns

array

getExcludeByName()

getExcludeByName() : array

Get exclude by name

Returns

array

getExcludeByType()

getExcludeByType() : array

Get exclude by type

Returns

array

hasCallable()

hasCallable() : boolean

Has callable

Returns

boolean

hasParams()

hasParams() : boolean

Has params

Returns

boolean

hasExcludeByName()

hasExcludeByName() : boolean

Has exclude by name

Returns

boolean

hasExcludeByType()

hasExcludeByType() : boolean

Has exclude by type

Returns

boolean

filter()

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

Filter value

Parameters

mixed $value
string $name
mixed $type

Returns

mixed