Have you seen the validates() method of the Model class?
Model::validates ( $ data = array() )
Returns true if all fields pass validation, otherwise false.
Parameters:
array $data POST data
http://api.cakephp.org/class_model.html#16c08a6787a40c74393c28f048ae2f31
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---