2008/8/5 Axel Wüstemann <[EMAIL PROTECTED]>: > Yes, it seems to me a good idea to let reside the paginator in the model. > What happens in the controller? How the view comes into play?
The controller simply calls the method prepareArticles with the right page (a param of request) and pass the paginator to the view, so the view script can use it for helpers like PaginationControl. Note that because the paginator goes into the view, it return only multidimensional array and not objects. -- Giorgio Sironi Piccolo Principe & Ossigeno Scripter http://www.sourceforge.net/projects/ossigeno
