[drupal-devel] Re: Passing sql variables to a paged query

Axel Kollmorgen axel at kollmorgen.net
Tue Oct 18 15:41:39 UTC 2005


On 18.10.2005 12:37, Richard Grieve wrote:
> to the query. Is there any way I can pass the variables (as hidden form
> values?) to the pager query so that the pages return correctly.

http://drupaldocs.org/api/head/function/theme_pager:

Parameters
[...]
$attributes An associative array of query string parameters to append to 
the pager links.

eg. theme('pager', array (), 10, 0, array ('foo' => $foo, 'bar' => $bar))

would pass foo and bar through the paged pages.

-- 
ax






More information about the drupal-devel mailing list