function views_plugin_pager::has_more_records in Views (for Drupal 7) 6.3
Same name and namespace in other branches
- 7.3 plugins/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
- plugins/
views_plugin_pager.inc, line 197
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();
}