question about fat model skinny controller

2011-09-28 Thread heohni
Hi, I was reading about it and in my case I like the idea. I am just changing my logic to work this way. But I just come across this question: How about the pagination, how do I do this? function performSearch($id = null){ // creating all conditions return $this-paginate(); } But this

Re: question about fat model skinny controller

2011-09-28 Thread Tilen Majerle
this code you post you probably made in model, right? paginate() method exists in controller, not in model :) -- Lep pozdrav, Tilen Majerle http://majerle.eu 2011/9/28 heohni heidi.anselstet...@consultingteam.de Hi, I was reading about it and in my case I like the idea. I am just changing