function views_simple_pager::summary_title in Views Simple Pager 7
Return a string to display as the clickable title for the pager plugin.
Overrides views_plugin_pager::summary_title
File
- ./
views_simple_pager.views.inc, line 37 - Views plugin implementations for Views Simple Pager.
Class
- views_simple_pager
- The plugin to provide the Views Simple Pager.
Code
function summary_title() {
$name = t('Simple pager');
if (!empty($this->options['offset'])) {
return format_plural($this->options['items_per_page'], '@name, @count item, skip @skip', '@name, @count items, skip @skip', array(
'@name' => $name,
'@count' => $this->options['items_per_page'],
'@skip' => $this->options['offset'],
));
}
return format_plural($this->options['items_per_page'], '@name, @count item', 'Simple pager, @count items', array(
'@name' => $name,
'@count' => $this->options['items_per_page'],
));
}