__clone()
__construct()
__invoke()
__sleep()
attach()
attachByName()
count()
filter()
getFilters()
getOptions()
getPluginManager()
hasPcreUnicodeSupport()
merge()
plugin()
setOptions()
setPluginManager()
isOptions()
$options
DEFAULT_PRIORITY
__clone()
__construct(null | array | \Traversable $options)
nullarray\Traversable
__invoke(mixed $value) : mixed
Proxies to filter()
inherited_from | \Zend\Filter\AbstractFilter::__invoke() |
---|
mixed
\Zend\Filter\Exception\ExceptionInterface |
If filtering $value is impossible |
---|
mixed
__sleep()
Plugin manager (property 'plugins') cannot be serialized. On wakeup the property remains unset and next invocation to getPluginManager() sets the default plugin manager instance (FilterPluginManager).
attach(\Zend\Filter\callable | \Zend\Filter\FilterInterface $callback, int $priority) : \Zend\Filter\self
\Zend\Filter\callable\Zend\Filter\FilterInterface
A Filter implementation or valid PHP callback
int
Priority at which to enqueue filter; defaults to 1000 (higher executes earlier)
\Zend\Filter\Exception\InvalidArgumentException |
---|
\Zend\Filter\self
attachByName(string $name, mixed $options, int $priority) : \Zend\Filter\self
Retrieves the filter from the attached plugin manager, and then calls attach() with the retrieved instance.
string
mixed
int
Priority at which to enqueue filter; defaults to 1000 (higher executes earlier)
\Zend\Filter\self
count() : int
int
filter(mixed $value) : mixed
Filters are run in the order in which they were added to the chain (FIFO)
mixed
\Zend\Filter\Exception\RuntimeException |
If filtering $value is impossible |
---|
mixed
getOptions() : array
inherited_from | \Zend\Filter\AbstractFilter::getOptions() |
---|
array
hasPcreUnicodeSupport() : bool
inherited_from | \Zend\Filter\AbstractFilter::hasPcreUnicodeSupport() |
---|
bool
merge(\Zend\Filter\FilterChain $filterChain) : \Zend\Filter\self
setOptions(array | \Traversable $options) : \Zend\Filter\self
array\Traversable
\Zend\Filter\Exception\InvalidArgumentException |
---|
\Zend\Filter\self
setPluginManager(\Zend\Filter\FilterPluginManager $plugins) : \Zend\Filter\self
DEFAULT_PRIORITY