I would like to suggest a simple change to Zend_Filter_Input in order to pass the filterred data to the validators as a second option (much like Zend_Form does).
This will involve (I believe) simply adding a paramater to two method calls. I'm currently running this in an over ridden method in my own class which extends ZFI. My first question is how do I go about officialy suggesting this? Secondly how do I help implement it as I can't see it causes any problems (at first glance) as validators wouldn't have to accept the variables unless required and it's just adding two variables! Simply add ", $this->_data" to each isValid call. Line 61: if (!$validatorRule[self::VALIDATOR_CHAIN]->isValid($data, $this->_data)) { Line 83: if (!$validatorRule[self::VALIDATOR_CHAIN]->isValid($value, $this->_data)) { I think this would be most useful. Simon ----- Simon Corless http://www.ajb007.co.uk/ -- View this message in context: http://www.nabble.com/Suggestion-For-Alteration-to-Zend_Filter_Input-tp16753707p16753707.html Sent from the Zend Framework mailing list archive at Nabble.com.