category Zend
package Zend_Filter
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License

 Methods

Constructor

__construct(mixed $options) 

Parameters

$options

mixed

(Optional) Default options for this filter

Calls the filter per callback

filter(mixed $value) : mixed
inherited_from \Zend_Filter_Interface::filter()

Parameters

$value

mixed

Options for the set callback

Returns

mixedResult from the filter which was callbacked

Returns the set callback

getCallback() : string | array

Returns

stringarraySet callback

Returns the set default options

getOptions() : mixed

Returns

mixed

Sets a new callback for this filter

setCallback(\unknown_type $callback, $options = null) : \unknown

Parameters

$callback

\unknown_type

$options

Returns

\unknown

Sets new default options to the callback filter

setOptions(mixed $options) : \Zend_Filter_Callback

Parameters

$options

mixed

Default options to set

Returns

\Zend_Filter_Callback

 Properties

 

Callback in a call_user_func format

$_callback : string | array

Default

null
 

Default options to set for the filter

$_options : mixed

Default

null