[Dbix-class] Changing pagers

Will Hawes wdhawes at gmail.com
Tue Feb 12 20:03:33 GMT 2008


On 12/02/2008, Dan Horne <dan.horne at redbone.co.nz> wrote:
> Dan Horne said:
> > Hi
> >
> > Is there a simple way of changing the result set Pager? I'd like to use
> > Data::Page::Navigation instead of Data::Page
> >
>
> No takers?

grep shows that Data::Page is only referenced by
DBIx::Class::ResultSet so off the top of my head I'd imagine you could
subclass ResultSet, override the paging methods then use your custom
class as described at
http://search.cpan.org/~jrobinson/DBIx-Class-0.08009/lib/DBIx/Class/Manual/Cookbook.pod#Predefined_searches.

This might of course be completely wrong though ;)



More information about the DBIx-Class mailing list