More information about the Underscore mailing list

[_] CakePHP active record user_id

Jon Bennett jmbennett at gmail.com
Mon Mar 17 13:34:57 GMT 2008

Hi Andy,

>  I know there are a few on this list that use CakePHP and I'm hoping
>  someone can help with active record - for any authenticated (using Auth)
>  user saving the user_id from the Session on any insert or update.
>
>  Datestamps for created and modified seem to be built in, is there
>  something similar for user_id?

There isn't anythign built in, as the Auth component is not included
by default, but something along the lines of
http://bin.cakephp.org/view/1785341717 should suffice.

hth

jon


-- 

jon bennett
w: http://www.jben.net/
iChat (AIM): jbendotnet Skype: jon-bennett