Need help with find paginate syntax
Hi,
$payments = $this->Member->Payment->find('all', array(
'conditions' => array(
'Payment.member_id' => $id
),
'order' => array('Payment.created DESC')
));
I would like to paginate this result, how can I do this?
I find it difficult to find a solution because I query $this->Member-
>Payment Model?
Please advise!
Thanks and have all a happy weekend!
--
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