Zend Framework
1.12
|
Public Member Functions | |
__construct ($options) | |
Constructor. | |
getCallback () | |
Returns the set callback. | |
setCallback ($callback, $options=null) | |
Sets a new callback for this filter. | |
getOptions () | |
Returns the set default options. | |
setOptions ($options) | |
Sets new default options to the callback filter. | |
filter ($value) | |
Calls the filter per callback. | |
Protected Attributes | |
$_callback = null | |
$_options = null | |
__construct | ( | $options | ) |
Constructor.
string | array | $callback | Callback in a call_user_func format |
mixed | $options | (Optional) Default options for this filter |
filter | ( | $value | ) |
Calls the filter per callback.
mixed | $value | Options for the set callback |
Implements Zend_Filter_Interface.
getCallback | ( | ) |
Returns the set callback.
getOptions | ( | ) |
Returns the set default options.
setCallback | ( | $callback, | |
$options = null |
|||
) |
Sets a new callback for this filter.
unknown_type | $callback |
setOptions | ( | $options | ) |
Sets new default options to the callback filter.
mixed | $options | Default options to set |
|
protected |
|
protected |