Zend\Filter\FilterChain
Synopsis
class FilterChain
extends AbstractFilter
implements
Countable
{
- // constants
- const DEFAULT_PRIORITY = 1000;
- // Inherited members from AbstractFilter
- protected array $options;
- // methods
- public void __construct()
- public self setOptions()
- public int count()
- public FilterPluginManager getPluginManager()
- public self setPluginManager()
- public FilterInterface plugin()
- public self attach()
- public self attachByName()
- public self merge()
- public PriorityQueue getFilters()
- public mixed filter()
- public void __clone()
- public void __sleep()
- // Inherited methods from AbstractFilter
- public static bool hasPcreUnicodeSupport()
- public self setOptions()
- public array getOptions()
- public mixed __invoke()
- protected static bool isOptions()
Hierarchy
Constants
Name | Value |
---|---|
DEFAULT_PRIORITY | 1000 |
Members
protected
- $filters
—
Zend\Stdlib\PriorityQueue
Filter chain - $options
—
array
Filter options - $plugins — Zend\Filter\FilterPluginManager
Methods
public
- __construct() — Initialize filter chain
- __clone() — Clone filters
- __sleep() — Prepare filter chain for serialization
- attach() — Attach a filter to the chain
- attachByName() — Attach a filter to the chain using a short name
- count() — Return the count of attached filters
- filter() — Returns $value filtered through each filter in the chain
- getFilters() — Get all the filters
- getPluginManager() — Get plugin manager instance
- merge() — Merge the filter chain with the one given in parameter
- plugin() — Retrieve a filter plugin by name
- setOptions()
- setPluginManager() — Set plugin manager instance
Inherited from Zend\Filter\AbstractFilter
protected
public
- __invoke() — Invoke filter as a command
- getOptions() — Retrieve options representing object state
- hasPcreUnicodeSupport()
- setOptions()