You can change it within the action by doing: $this->paginate['Model']['contain'] = array(...);
On Fri, Apr 10, 2009 at 6:10 AM, park <park....@gmail.com> wrote: > > Hi, > > $this->Model->contain() doesn't seem to affect $paginate query result. > > The following approach is mentioned in the official documentation. > var $paginate = array( > 'Model'=> array( > 'contain' => array( > // Contain settings goes here > ) > ) > ); > > But is there a way to change this settings on the fly? > > Thanks! > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---