richjoslin / rivety

An extension of the Zend Framework for easily building websites with logins, permissions and roles, CMS, etc. [WARNING: ABANDONED]
Other
2 stars 1 forks source link

add $request->addValidationError($field,$message) #39

Closed jaybill closed 12 years ago

jaybill commented 12 years ago

We had this whole plan for adding other validators at some point, but it's got some serious flaws. Short of scrapping it, I propose adding a method to the request object that will let you add a validation error yourself, so you don't have to roll your own for validation problems that aren't just required fields.