Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

string|array
$_callback= 'null'
Callback in a call_user_func format
null
Details
__construct(
mixed $options
)
:
void
Constructor
Name | Type | Description |
---|---|---|
$options | mixed | (Optional) Default options for this filter |

filter(
mixed $value
)
:
mixed
Calls the filter per callback
Name | Type | Description |
---|---|---|
$value | mixed | Options for the set callback |
Type | Description |
---|---|
mixed | Result from the filter which was callbacked |

getCallback(
)
:
string|array
Returns the set callback
Type | Description |
---|---|
string|array | Set callback |

setCallback(
\unknown_type $callback, $options
=
null
)
:
\unknown
Sets a new callback for this filter
Name | Type | Description |
---|---|---|
$callback | \unknown_type | |
$options |
Type | Description |
---|---|
\unknown |

setOptions(
mixed $options
)
:
\Zend_Filter_Callback
Sets new default options to the callback filter
Name | Type | Description |
---|---|---|
$options | mixed | Default options to set |
Type | Description |
---|---|
\Zend_Filter_Callback |