function views_plugin_pager_full::summary_title

3.x views_plugin_pager_full.inc views_plugin_pager_full::summary_title()

Return a string to display as the clickable title for the pager plugin.

Overrides views_plugin_pager::summary_title

1 method overrides views_plugin_pager_full::summary_title()
views_plugin_pager_mini::summary_title in plugins/views_plugin_pager_mini.inc
Return a string to display as the clickable title for the pager plugin.

File

plugins/views_plugin_pager_full.inc, line 14
Definition of views_plugin_pager_full.

Class

views_plugin_pager_full
The plugin to handle full pager.

Code

function summary_title() {
  if (!empty($this->options['offset'])) {
    return format_plural($this->options['items_per_page'], '@count item, skip @skip', 'Paged, @count items, skip @skip', array('@count' => $this->options['items_per_page'], '@skip' => $this->options['offset']));
  }
  return format_plural($this->options['items_per_page'], '@count item', 'Paged, @count items', array('@count' => $this->options['items_per_page']));
}