Yes, I've used scope to do this before. From memory you'll need to detach() and attach() the tree behaviour if you want to set the scope in newer versions.
On Aug 22, 2:57 am, Joshua McFarren <[EMAIL PROTECTED]> wrote: > Is it possible to store multiple MPTT trees in same table with > TreeBehavior? I can distinguish each tree by a foreignKey but I'm not > sure how to configure the behavior to obey this. I thought maybe this > could be done with scope but the documentation doesn't mention it and > the API seems to contradict my assumption. > > Any help would be greatly appreciated. > > Best, > Joshua --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
