function theme_pager_last
Search API
7.x theme.inc | theme_pager_last($text, $limit, $element = 0, $parameters = array()) |
6.x theme.inc | theme_pager_last($text, $limit, $element = 0, $parameters = array()) |
Adapted from https://api.drupal.org/api/drupal/includes%21pager.inc/function/theme_pa...
2 calls to theme_pager_last()
- theme_pager in includes/
theme.inc - Adapted from https://api.drupal.org/api/drupal/includes%21pager.inc/function/theme_pa...
- theme_pager_next in includes/
theme.inc - Adapted from https://api.drupal.org/api/drupal/includes%21pager.inc/function/theme_pa...
File
- includes/
theme.inc, line 406
Code
function theme_pager_last($text, $limit, $element = 0, $parameters = array()) {
global $pager_page_array, $pager_total;
$output = '';
// If we are anywhere but the last page
if ($pager_page_array [$element] < $pager_total [$element] - 1) {
$output = theme_pager_link($text, pager_load_array($pager_total [$element] - 1, $element, $pager_page_array), $element, $parameters);
}
return $output;
}