Methods
__construct()
__construct(null | array | \Traversable $options)
Parameters
$options
nullarray\Traversable
Invoke filter as a command
__invoke(mixed $value) : mixed
Inherited
Proxies to filter()
inherited_from |
\Zend\Filter\AbstractFilter::__invoke() |
Parameters
$value
mixed
Exceptions
Returns
mixed
Returns the result of filtering $value
filter(mixed $value) : mixed
Will return null if $value is present in the black-list. If $value is NOT present then it will return $value.
Parameters
$value
mixed
Exceptions
Returns
mixed
Get the list of items to black-list
getList() : array
Retrieve options representing object state
getOptions() : array
Inherited
inherited_from |
\Zend\Filter\AbstractFilter::getOptions() |
Returns
array
Returns whether the in_array() call should be "strict" or not.
getStrict() : boolean
See in_array docs.
Returns
boolean
hasPcreUnicodeSupport()
hasPcreUnicodeSupport() : bool
Inherited
inherited_from |
\Zend\Filter\AbstractFilter::hasPcreUnicodeSupport() |
Returns
bool
Set the list of items to black-list.
setList(array | \Traversable $list)
Parameters
$list
array\Traversable
setOptions()
setOptions(array | \Traversable $options) : \Zend\Filter\self
Inherited
inherited_from |
\Zend\Filter\AbstractFilter::setOptions() |
Parameters
$options
array\Traversable
Exceptions
Returns
\Zend\Filter\self
Determine whether the in_array() call should be "strict" or not.
setStrict(bool $strict)
See in_array docs.
Parameters
$strict
bool
isOptions()
isOptions(mixed $options) : bool
Inherited
inherited_from |
\Zend\Filter\AbstractFilter::isOptions() |
Parameters
$options
mixed
Returns
bool
Properties
Filter options
$options : array
Inherited
inherited_from |
\Zend\Filter\AbstractFilter::$$options |