hi,
you can ignore ur table relationshop with
$this->yourModel->unbindModel('theModelThatYouWantToIgnore');
http://book.cakephp.org/2.0/en/models/associations-linking-models-together.html?highlight=unbindmodel
or you can use "recursive" see here
http://book.cakephp.org/2.0/en/models/model-attributes.html#recursive
bye
Moc
________________________________
Von: thom <[email protected]>
An: cake-php <[email protected]>
Gesendet: 5:39 Freitag, 11.November 2011
Betreff: [ASK] Ignoring 'belongsTo' inside model
I'm playing with Model::paginate() and would like to ignore belongsTo table
relationship. How could I make it? Is that possible?
Thank you.
--
Regards,,,
thom
http://mynameisthom.blogspot.com
--
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
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php
--
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
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php