Thanks for the response!!
Yes I did mean 'HABTM Through'. I did some quick looking around 1.1.17
and do not see support for it, I guess I will have to upgrade....
Thanks
On Oct 2, 9:19 am, grigri <[EMAIL PROTECTED]> wrote:
> I think you mean 'HABTM Through' not 'HABTM Though', and in cake it's
> called `with`. This is for cake 1.2.x though, I have no idea about
> 1.1.x - stopped using it ages ago.
>
> class User extends AppModel {
> var $hasAndBelongsToMany = array(
> 'Group' => array( 'with' => 'Membership' )
> );
>
> }
>
> On Oct 2, 2:15 pm, macasek <[EMAIL PROTECTED]> wrote:
>
> > Hello All,
>
> > I am working on developing a data model and I have the need to create
> > a HABTM relationship that contains more information than just 2
> > foreign keys. The table I am looking for is essentially an assignment
> > table that maps groups to the item they are assigned to. The issue is
> > I need to have additional info stored such as start/end date, so I
> > really need more than a join table and more of a model. In the RoR
> > world I would use the 'HABTM Though' mechanism to archive this and
> > since CakePHP is designed in the RoR philosophy I was hoping something
> > similar existed. I did some looking around in the manual and did not
> > see anything of note.
>
> > Does anyone know of a 'HABTM Though' mechanism or something similar in
> > CakePHP?
>
> > Thanks for the responses!!!!
>
> > Michael
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---