Commit graph

5 commits

Author SHA1 Message Date
Alexandre
4e068bf204 -Messages are now imperative ("foo must be bar") instead of informative ("foo is not bar").
-Several improvements on the messaging system and error reporting, lots of refactored code.
-Validators can now be safely named $val->setName('My Field'), and that name will reflect on the validation message ("My Field must be bla bla bla" instead of "incorrect value" must be bla bla bla)
2011-02-08 20:10:58 -02:00
Alexandre
cd6449ff81 Using constants for template messages. 2011-02-06 23:12:41 -02:00
Alexandre (@alganet)
5830711f5a Several Improvements:
-Simplified defaultTemplates on Exceptions
	-Exceptions now can be iterated and recursively iterated
	-Messages built by RecursiveTreeIterator (SPL), faster an simpler
	-attribute, key and composite exceptions message plays nicer (no redundant messages)
2011-01-30 22:17:06 -02:00
Alexandre Gomes Gaigalas
42999f796a Very unstable commit. Lot of changes to the exception model. 2010-12-02 19:04:10 -02:00
Alexandre Gomes Gaigalas
2408730f48 Changed the Exceptions to Match Rules names 2010-11-30 13:36:04 -02:00
Renamed from library/Respect/Validation/Exceptions/NotObjectException.php (Browse further)