Controllers talk to models, not the other way round, so you would need to call a method in your model from your controllers, passing the params as necessary.
On Dec 23, 8:52 am, gearvOsh <[email protected]> wrote: > No not that. In the models beforeValidate() is it possible for me to > do like $controller->params? > > UsersController -> User Model > > So in User::beforeValidate() can I get UsersControllers params, is > basically what im asking? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
