http://book.cakephp.org/view/164/Pagination
http://book.cakephp.org/view/858/Using-Containable-with-pagination
On Tue, May 4, 2010 at 11:07 AM, Andrei Mita <andrei.mita@gmail.com> wrote:
I believe paginate documentation in the book has a similar example.
On Tue, May 4, 2010 at 9:48 AM, sijo jose <jose.sijo@gmail.com> wrote:Hi guys,I have this model Structure -Model 1 - Unionvar $belongsTo = array('Address' => array('className' => 'Address','foreignKey' => 'address_id','conditions' => '','fields' => '','order' => '') );Model 2 - Addressvar $belongsTo = array('District' => array('className' => 'District','foreignKey' => 'district_id','conditions' => '','fields' => '','order' => ''));Model 3 District.with fields name and code both varchar.Now I would like to paginate the Unions which should be ordered in ASC by Union.Address.District.name ASCIs that possible and if so how should i write the paginate.Urgent help need. I am stuck here.Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
Regards,
--
Sijo Jose Chakramakkil
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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment