Friday, November 11, 2011

Re: [ASK] Ignoring 'belongsTo' inside model

On Fri, Nov 11, 2011 at 2:23 PM, Andras Kende <andras@kende.com> wrote:
There are multiple way to do this.. unbindModel is a very easy, just add right before paginate code :

$this->Topic->unbindModel(array('belongsTo' => array('Category'), false));


Yeah. I've made it after spending some hours with my netbook, while waiting for someone might gimme some answers here. And when I come back here, there already 2 answers! I solve the case by using unbind anyway :D 

Thank you every one ^_^ 

--
Regards,,,
thom

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate