1 views_plugin_pager_mini.inc views_plugin_pager_mini::render($input)

Overrides views_plugin_pager_full::render().

Overrides the full pager renderer by changing the theme function and leaving out variables that are not used in the mini pager.

Overrides views_plugin_pager_full::render

File

core/modules/views/plugins/views_plugin_pager_mini.inc, line 56
Definition of views_plugin_pager_mini.

Class

views_plugin_pager_mini
The plugin to handle mini pager.

Code

function render($input) {
  $pager_theme = views_theme_functions('views_mini_pager', $this->view, $this->display);
  // The 1, 3 index are correct.
  // @see theme_pager().
  $tags = array(
    1 => $this->options['tags']['previous'],
    3 => $this->options['tags']['next'],
  );
  return theme($pager_theme, array(
    'tags' => $tags,
    'element' => $this->get_pager_id(),
    'parameters' => $input,
  ));
}