-- bparise <[email protected]> wrote (on Wednesday, 20 January 2010, 11:02 AM -0800): > > Thanks for your input! > We actually talked about doing that (custom validators) soon after we > realized that the isValid() methods were seemingly build *for* validators. > Trying to not repeat ourselves by creating custom validators left-and-right, > I came up with a neat callback one... > > <?php > > class My_Validate_Callback extends Zend_Validate_Abstract
The 1.10.0 release includes a Callback validator; you'll be able to replace your custom one with a standard one very soon now. :) -- Matthew Weier O'Phinney Project Lead | [email protected] Zend Framework | http://framework.zend.com/ PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc
