ZF-12213: Zend_Validate - Writing Validators - outdated

Issue Type: Docs: Problem Created: 2012-05-18T15:45:40.000+0000 Last Updated: 2012-05-31T19:04:10.000+0000 Status: Resolved Fix version(s): Reporter: Martin Hujer (mhujer) Assignee: Thomas Weidner (thomas) Tags: - Zend_Validate

  • FixForZF1.12

Related issues: Attachments: - ZF-12213.patch


The example in docs… and the following sentence ??"The call to _error() tracks a reason for validation failure. Since this class only defines one failure message, it is not necessary to provide _error() with the name of the failure message template."?? are outdated.

The possibility to call $this->_error() with no parameters isn't in ZF since 1.10 (…)


Posted by Martin Hujer (mhujer) on 2012-05-19T14:37:09.000+0000

Attaching patch.

Posted by Rob Allen (rob) on 2012-05-31T19:04:10.000+0000

Fixed in SVN r 24845.

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.