Return to Snippet

Revision: 34917
at October 30, 2010 06:07 by jonathanpglick


Initial Code
$pager_type = ($view->pager['use_pager'] === 'mini' ? 'views_mini_pager' : 'pager');
$pager_theme = views_theme_functions($pager_type, $view, $view->display_handler->display);
$pager = theme($pager_theme, NULL, $view->pager['items_per_page'], $view->pager['element']);

Initial URL

                                

Initial Description
Drupal 6

Do this after $view->execute() has already been called

Initial Title
Drupal render Views pager from $view object

Initial Tags
drupal

Initial Language
PHP