1 views_plugin_pager.inc views_plugin_pager::has_more_records()

Determine if there are more records available.

This is primarily used to control the display of a more link.

File

core/modules/views/plugins/views_plugin_pager.inc, line 210
Definition of views_plugin_pager.

Class

views_plugin_pager
The base plugin to handle pager.

Code

function has_more_records() {
  return $this->get_items_per_page()
    && $this->total_items > (intval($this->current_page) + 1) * $this->get_items_per_page();
}