Just a quick aside on this one... What would you say was best practice for accessing info from something like the Auth component a behviour such as an audit behaviour which added for example a user id to the data in a beforeSave. Would you say it was better to go straight to the session (which seems ugly and less future proof to me), or to have to inject the result of Auth->user() to the behaviour through the controller?
Simon --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
