1 views_plugin_query.inc views_plugin_query::render_pager($exposed_input)

Render the pager, if necessary.

File

core/modules/views/plugins/views_plugin_query.inc, line 126
Defines the base query class, which is the underlying layer in a View.

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