|Pagination [message #97344]
||Wed, 14 April 2010 12:08
Registered: July 2009
Hey everyone, |
I have been trying to paginate some results that I have. The link that I am following is this:
word for word, off course, it has the necessary changes as per the DB query. all of which I have tested, and work just fine
In my action, the pager object was initiated and then passed as a variable to the template as
$this->records = $pager (the pager object that I had defined)
However, when I use the $records->haveToPaginate() function in the template, I get
Call to a member function getResults() on a non-object.
I am lost here and clueless. Anyone with any leads?