Thanks for that, I did have a quick look in the code (after I'd posted!), I
thoguht this was the case but just had to check. The reason I ask is that it
seems extremly sensible for the validators to have reference to the
information around them. I believe your idea should be implemented in to
ZFI.

Is the ZF $context filtered? This would be handy in ZFI along with a method
to alter the filtered POST data without resorting to direct manipulation.
Unless that's considered out of the scope of a validator and any
modifications should be handled before. Although I find you then double up
the validation and filtering.

I will have to look into this, but how would I go about requesting it
officialy? Although I suppose if I start to use ZF I won't really need to
use the ZFI interface anymore.

Thanks again.
Simon


Matthew Weier O'Phinney-3 wrote:
> 
> -- SiCo007 <[EMAIL PROTECTED]> wrote
> (on Tuesday, 19 February 2008, 05:17 AM -0800):
> Very easy: it simply passes the value being tested as $value, and then
> the full array of values being validated by the form as $context.
> -- 
> Matthew Weier O'Phinney
> PHP Developer            | [EMAIL PROTECTED]
> Zend - The PHP Company   | http://www.zend.com/
> 
> 


-----
Simon Corless

http://www.ajb007.co.uk/
-- 
View this message in context: 
http://www.nabble.com/Zend-Form%3A-How-does-Zend-Form-pass-%24context--tp15560788s16154p15576555.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to