Issues

ZF-12213: Zend_Validate - Writing Validators - outdated

Description

The example in docs http://framework.zend.com/manual/en/… 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 (http://framework.zend.com/manual/en/…)

Comments

Attaching patch.

Fixed in SVN r 24845.