Methods
__construct()
__construct(\Zend\Filter\callable | array | \Traversable $callbackOrOptions, array $callbackParams)
Parameters
$callbackOrOptions
\Zend\Filter\callablearray\Traversable
$callbackParams
array
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
Calls the filter per callback
filter(mixed $value) : mixed
Parameters
$value
mixed
Options for the set callable
Exceptions
Returns
mixed
Result from the filter which was called
Returns the set callback
getCallback() : \Zend\Filter\callable
Returns
\Zend\Filter\callable
Get parameters for the callback
getCallbackParams() : array
Retrieve options representing object state
getOptions() : array
Inherited
inherited_from |
\Zend\Filter\AbstractFilter::getOptions() |
Returns
array
hasPcreUnicodeSupport()
hasPcreUnicodeSupport() : bool
Inherited
inherited_from |
\Zend\Filter\AbstractFilter::hasPcreUnicodeSupport() |
Returns
bool
Sets a new callback for this filter
setCallback(\Zend\Filter\callable $callback) : \Zend\Filter\self
Parameters
$callback
\Zend\Filter\callable
Exceptions
Returns
\Zend\Filter\self
Sets parameters for the callback
setCallbackParams(array $params) : \Zend\Filter\self
Parameters
$params
array
Returns
\Zend\Filter\self
setOptions()
setOptions(array | \Traversable $options) : \Zend\Filter\self
Inherited
inherited_from |
\Zend\Filter\AbstractFilter::setOptions() |
Parameters
$options
array\Traversable
Exceptions
Returns
\Zend\Filter\self
isOptions()
isOptions(mixed $options) : bool
Inherited
inherited_from |
\Zend\Filter\AbstractFilter::isOptions() |
Parameters
$options
mixed
Returns
bool
Properties
Filter options
$options : array