Friday, December 16, 2011

Re: Paginator not working on custom query

the paginate function is in my model

this is what is in my controller
$delinquentLoans = $this->DelinquentLoan->paginate('m-z');
$this->set('delinquentLoans', $delinquentLoans);

mysql is the database server.

Do I have to do something like

var $helpers = array('paginator');

in my controller?

--
View this message in context: http://cakephp.1045679.n5.nabble.com/Paginator-not-working-on-custom-query-tp5080932p5081310.html
Sent from the CakePHP mailing list archive at Nabble.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
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