http://book.cakephp.org/view/410/Validating-Data-from-the-Controller
On Apr 24, 12:32 am, Temujin <[email protected]> wrote: > I know this will make some MVC purists out there cringe, but is there > a way to manually call Validate routines from within the controller? > > I have a simple form that needs to validate multiple email addresses > and I don't want to make a model to handle just this one validation > check. > > Trying the following: > Validate::email($email) > > ... from the controller results in "Class 'Validate' not found". --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
