Pagination from Model

I follow the "Fat Models and skinny Controllers" rule. I placed all my find() functions in models and just call them from controllers. In fact this is the best method to maintain big projects.

The problem is I can not use pagination from Models :(

Please help...

Asked by ABCoder, on 7/2/10

1 Answer

Pass the pagination variables as parameters to your

find functions.

Answered by Pjson 7/2/10

got your point. thanks a lot

ABCoder - on 7/2/10

<< comments | comments >>
<< previous next >>

Tagged with

Rating

0

Viewed

312 times

Last Activity

on 7/2/10