function views_plugin_query::render_pager

Render the pager, if necessary.

File

plugins/views_plugin_query.inc, line 147

Class

views_plugin_query
The base query class, which is the underlying layer in a View.

Code

public function render_pager($exposed_input) {
    if (!empty($this->pager) && $this->pager
        ->use_pager()) {
        return $this->pager
            ->render($exposed_input);
    }
    return '';
}