The default behavior of zend_input_filter is escaping the data, it's not possible to disable this behavior in a way of setEscape( false ) or something like that. As Thomas and I told you, the easiest way of getting unescaped data is to call the getUnescaped( $key ) method.

There is an other way of 'disabling' the default escape behavior.
You could create a custom class My_Filter_DoNothing, which implements the Zend_Filter_Interface and set that filter as the default escape filter (see the setDefaultEscapeFilter() method ). The filter( $value ) method of this class returns the $value directly, without modifications. The data will still be 'filtered' when you call $input->{key} or $input->getEscaped( $key ), but the used filter does nothing....

Justin


Serkys wrote:
It's not important for me, escaped or unescaped values I will use.
I think I can don't use escaper, becouse it's not need for me. I wanna
disable escaper.


Reply via email to