http://cakeforge.org/projects/version/

You mean like that?

On Mar 5, 5:51 pm, "Jon Bennett" <[EMAIL PROTECTED]> wrote:
> > I've been thinking about this recently, and I was thinking I would
> >  have a separate model to store the history, I was thinking
>
> >  id
> >  model
> >  foreign_key
> >  user_id
> >  type enum(new,update)
>
> >  you would then connect all your models to this one model using the
> >  foreign key, and only have 1 model to query to get a users history,
> >  rather than querying many and then having to sort those results.
>
> actually, I would definitely package this up as a behaviour - I'll
> post it up somewhere when it's done.
>
> jb
>
> --
>
> jon bennett
> w:http://www.jben.net/
> iChat (AIM): jbendotnet Skype: jon-bennett
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to