Hi, I'm using v1.2 and would like to create a Model behavior that adds an "owner_id" to a record when it gets created. So if I've logged in via othAuth the "owner_id" of any records I create is automatically set to the current user.id.
Only problem is accessing obAuth's current user data - is there anyway to access either a helper or a component from a ModelBehavior? Obviously I could do it within the controller, but it seems like it should be within a Model Behavior so that any model I want can have an "Owned" behavior. Thanks for any suggestions, Guy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---