I think is paginate name for property, not paginator
Dne 11. jan. 2013 11:15 je "Sam" <lightaiyee@gmail.com> napisal/-a:
-- Dear CakePHP experts,The default maxLimit for Paginator component is 100. For some reason, I would like to extend it to 1000 to all my controllers. What I did was to add the following code inside class AppController. Is it correct?Inside class AppController extends Controller,public $paginator = array ('maxLimit' =>1000,'limit' =>1000);Thank you for your help.--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
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.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
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.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
No comments:
Post a Comment