Hi, I would like to define several paginators for one model. For example
users_controller.php: var $paginate = array (.....); var $paginate2 = array (.....); var $paginate3 = array (....); so that I can use those in my views like this <$php echo $paginator->sort($paginate, "Country'); ?> <$php echo $paginator->sort($paginate2, "Country'); ?> <$php echo $paginator->sort($paginate3, "Country'); ?> The thing is I want to provide the user with several buttons to paginate the view after different orders. But with the standard pagination this doesn't seem to be possible. Can I achieve this by overwriting the paginate() method from the Controller class? --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---