On Jun 17, 3:54 am, Mario Simaremare <[email protected]>
wrote:
> dear all,
> i just learn the cake in a week. and i start to get confused with how
> to paginate a custom query.

This came up on the list a couple of days ago. Have you seen this?
http://book.cakephp.org/view/249/Custom-Query-Pagination

But it looks to me like you could do this without a custom query. If
using Containable, you should be able to do something like:

'contain; -> array(
    'Group' => array(
        'Role'
    )
)

If not for some reason, google "cakephp paginate custom" for more info.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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

Reply via email to