function views_plugin_query::render_pager

Same name in other branches
  1. 7.x-3.x plugins/views_plugin_query.inc \views_plugin_query::render_pager()

Render the pager, if necessary.

File

plugins/views_plugin_query.inc, line 112

Class

views_plugin_query
Object used to create a SELECT query.

Code

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