function views_plugin_pager_full::render

Overrides views_plugin_pager::render

1 method overrides views_plugin_pager_full::render()
views_plugin_pager_mini::render in plugins/views_plugin_pager_mini.inc
Render the pager.

File

plugins/views_plugin_pager_full.inc, line 285

Class

views_plugin_pager_full
The plugin to handle full pager.

Code

public 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;
}