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) : mixed

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

Set plugin manager for resolving filter classes

setPluginManager(\Zend\Filter\FilterPluginManager $manager) : void

Parameters

 Properties

 

$plugins

$plugins : \Zend\Filter\FilterPluginManager