ZF-12213: Zend_Validate - Writing Validators - outdated


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 (…)


Attaching patch.

Fixed in SVN r 24845.