685. Class

685.1. Zend\Filter\Callback

685.1.1. Methods

685.1.1.1. __construct

__construct()

@param callable|array|Traversable $callbackOrOptions

Parameters:array

685.1.1.2. setCallback

setCallback()

Sets a new callback for this filter

Parameters:callable
Throws ExceptionInvalidArgumentException:
 
Return type:self

685.1.1.3. getCallback

getCallback()

Returns the set callback

Return type:callable

685.1.1.4. setCallbackParams

setCallbackParams()

Sets parameters for the callback

Parameters:mixed
Return type:Callback

685.1.1.5. getCallbackParams

getCallbackParams()

Get parameters for the callback

Return type:mixed

685.1.1.6. filter

filter()

Calls the filter per callback

Parameters:mixed – Options for the set callable
Return type:mixed Result from the filter which was called

Project Versions

Table Of Contents

Previous topic

684. Class

Next topic

686. Class

This Page