Hi,

I prepare app with lot of fields in tables 'user_id'. I use Auth
component, and my question is: How I can automatic add value to
'user_id' from Auth->user('id).

My first try was setting $this->data[$this->modelClass']['user_id'] =
4this->Auth->user('id'); but when I use $this->data in App_Controller
my Add action automated works...

I looking-for very simple adding value to user_id...

Bye!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to