package Default

 Methods

Returns a value filtered through a specified filter class, without requiring separate instantiation of the filter object.

execute(mixed $value, string $classBaseName, array $args = array()) : mixed
Static

The first argument of this method is a data input value, that you would have filtered. The second argument is a string, which corresponds to the basename of the filter class, relative to the Zend\Filter namespace. This method automatically loads the class, creates an instance, and applies the filter() method to the data input. You can also pass an array of constructor arguments, if they are needed for the filter class.

Parameters

$value

mixed

$classBaseName

string

$args

array

OPTIONAL

Exceptions

\Zend\Filter\Exception\ExceptionInterface

Returns

mixed

Get plugin manager for loading filter classes

getPluginManager() : \Zend\Filter\FilterPluginManager
Static

Returns

\Zend\Filter\FilterPluginManager

Set plugin manager for resolving filter classes

setPluginManager(\Zend\Filter\FilterPluginManager $manager = null) : void
Static

Parameters

$manager

\Zend\Filter\FilterPluginManager

 Properties

 

$plugins

$plugins : \Zend\Filter\FilterPluginManager

Default

Static