ZF-9914: Zend_Form - an alias for method: ->isErrors()

Issue Type: Improvement Created: 2010-05-29T17:51:58.000+0000 Last Updated: 2013-01-10T10:45:01.000+0000 Status: Resolved Fix version(s): - 1.12.2 (25/Feb/13)

Reporter: Jacek Kobus ( Assignee: Marc Hodgins (mjh_ca) Tags: - Zend_Form

  • FixForZF1.12

Related issues: Attachments: - ZF-9914.patch


It would be much nicer to do somethin like $form->hasErrors() than $form->isErrors(). It's just sounds a bit strange. For the backward's compatybility i propose to leave the old naming and create an alias for this method.


Posted by Christian Albrecht (alab) on 2010-06-17T12:14:53.000+0000

Scheduling for next minor

Posted by Marc Hodgins (mjh_ca) on 2010-11-25T01:28:06.000+0000

Patch with updated tests attached.

Posted by Frank Br├╝ckner (frosch) on 2013-01-10T10:45:01.000+0000

Fixed on trunk (25200) and release-1.12 (25201)

Thanks to Marc!

Have you found an issue?

See the Overview section for more details.


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

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