Zeta Components Manual :: Docs For Class ezcInputFilter
UserInput::ezcInputFilter
Class ezcInputFilter
Provides a set of standard filters.
This class defines a set of filters that can be used with both with PHP's filter extension, or with the ezcInputForm class as callback filter method.
- <?php
- $definition = array(
- 'special' => array( OPTIONAL, 'callback',
- array( 'ezcInputFilter', 'urlFilter' ) ),
- );
- ?>
Source for this file: /UserInput/src/input_filter.php
Version: | //autogentag// |
Method Summary
public static mixed |
urlFilter(
$value
, $characterSet
)
Receives a variable for filtering. The filter function is free to modify the variable and should return the modified variable. |
Methods
urlFilter
static mixed
urlFilter(
mixed
$value
, string
$characterSet
)
Receives a variable for filtering. The filter function is free to modify the variable and should return the modified variable.
Parameters:
Name | Type | Description |
---|---|---|
$value |
mixed | The variable's value |
$characterSet |
string | The value's character set |
Documentation generated by phpDocumentor 1.4.3