I think it is clear. Validation rules are setup in the model. BUT - what if he was making a contact form that never wrote to the database (or even used a model) - but still needed to be validated before the email was sent?
I think that is what he is saying - being able to have validation rules outside of using a model. Maybe making your validation checks manually and then marking them as invalid with invalidate(). However, validation seems to be tied into the model (even to the save function). However, not all validation needs to be saved to a database - there could be other needs (write to file, email, etc). I think that is what he is asking....am I correct? On Feb 7, 5:00 am, "Steniskis" <[EMAIL PROTECTED]> wrote: > Hi Tazz, > Your question is not clear... > Steniskis --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
