716. Class

716.1. Zend\Filter\StaticFilter

716.1.1. Methods

716.1.1.1. setPluginManager

setPluginManager()

Set plugin manager for resolving filter classes

Parameters:FilterPluginManager
Return type:void

716.1.1.2. getPluginManager

getPluginManager()

Get plugin manager for loading filter classes

Return type:FilterPluginManager

716.1.1.3. execute

execute()

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

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:
  • mixed
  • string
  • array – OPTIONAL
Return type:

mixed

Throws :

ExceptionExceptionInterface

Project Versions

Table Of Contents

Previous topic

715. Class

Next topic

717. Class

This Page