You would use the Model::bindModel() and Model::unbindModel() function
to create and destroy model associations dynamically.

See: http://book.cakephp.org/view/86/creating-and-destroying-associ
I think that section would answer all your questions.

-Joel.

On Mar 29, 9:54 pm, John R <[EMAIL PROTECTED]> wrote:
> Adding on to that ...
>
> Say you have a user hasMany comments setup.
>
> There are parameters for order, limit, etc.
>
> Say you want the latest 5 comments on one page, but you want 100 on
> the next page. If you only have one hasMany, how do you do this?
>
> Me thinks I'm missing something here
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to