[development] Pagers for non-sql data

Gordon Heydon gordon at heydon.com.au
Wed Apr 7 15:53:46 UTC 2010


Yes there is but is it a bit difficult. I have done this for one of my projects. I will direct you to some code.

if you take a look at http://drupalcode.org/viewvc/drupal/contributions/modules/gitbrowser/gb.inc?revision=1.30&view=markup#l27

basically you just need to see $pager_page_array and $pager_total before you call theme('pager')


On 08/04/2010, at 1:42 AM, Randy Fay wrote:

> Is there a way to use Drupal's extensive pager support with non-sql data? It looks to me like it's pretty much wired to database/sql situations.
> Thanks,
> -Randy
> -- 
> Randy Fay
> Drupal Development, troubleshooting, and debugging
> randy at randyfay.com
> +1  970.462.7450

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20100408/f40f1f3d/attachment.html 

More information about the development mailing list