function views_plugin_pager_full::render

3.x views_plugin_pager_full.inc views_plugin_pager_full::render($input)

Render the pager.

Called during the view render process, this will render the pager.

Parameters

$input: Any extra GET parameters that should be retained, such as exposed input.

Overrides views_plugin_pager::render

1 method overrides views_plugin_pager_full::render()

File

plugins/views_plugin_pager_full.inc, line 268
Definition of views_plugin_pager_full.

Class

views_plugin_pager_full
The plugin to handle full pager.

Code

function render($input) {
  $pager_theme = views_theme_functions('pager', $this->view, $this->display);
  // The 0, 1, 3, 4 index are correct. See theme_pager documentation.
  $tags = array(
    0 => $this->options['tags']['first'],
    1 => $this->options['tags']['previous'],
    3 => $this->options['tags']['next'],
    4 => $this->options['tags']['last'],
  );
  $output = theme($pager_theme, array(
    'tags' => $tags,
    'element' => $this->get_pager_id(),
    'parameters' => $input,
    'quantity' => $this->options['quantity'],
  ));
  return $output;
}