yeah, I actually call it from the app_controller, for I need a page
limit of 10 entries globally so mine actually looks like:
var $paginate = array('limit'=>10);
but, if you want to change it for one controller, yes it would be:
$this->paginate = array('limit' => 10);
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---