* array( OPTIONAL, 'callback', * array( 'ezcInputFilter', 'urlFilter' ) ), * ); * $form = new ezcInputForm( ezcInputForm::INPUT_GET, $definition ); * ?> * * * @package UserInput * @version 1.1 */ class ezcInputFilter { /** * Receives a variable for filtering. The filter function is free to modify * the variable and should return the modified variable. * * @param mixed The variable's value * @param string The value's character set * @return mixed The modified value of the variable that was passed */ static function urlFilter( $value, $characterSet ) { } } ?>