ZF-2746: Zend_Form should implement Zend_Validate_Interface

Issue Type: Improvement Created: 2008-02-27T22:59:46.000+0000 Last Updated: 2008-03-21T16:25:45.000+0000 Status: Resolved Fix version(s): - 1.5.0 (17/Mar/08)

Reporter: Matthew Weier O'Phinney (matthew) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Form

Related issues: Attachments:


Zend_Form should implement Zend_Validate_Interface, and already does -- with the exception of type-hinting on the isValid() method. Removing that and putting the type checking into the method itself would allow Zend_Form to implement Zend_Validate_Interface, thus allowing it to be used as an all-purpose validator for data-sets -- which could allow swapping it in where Zend_Filter_Input has been used previously in models.


Posted by Matthew Weier O'Phinney (matthew) on 2008-03-06T14:23:02.000+0000

Committed to trunk and release branch

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.