MAX_PAGES_TO_SHOW
MAX_PAGES_TO_SHOW
The maximum numbered links to pages to show besides the next and previous links
This is a helper class is used to handle pagination of search results
Helpers are classes used to reduce the coding required in Views. They do some computation with the data they are supplied and output HTML/XML
render(string $base_url, integer $limit, integer $results_per_page, integer $total_results, boolean $micro = false, boolean $no_follow = true)
Draws a strip of links which begins with a previous link (if their are previous pages of links) followed by up to ten links to more search result page (if available) followed by a next set of pages link.
string | $base_url | the url together with base query that the search was done on |
integer | $limit | the number of the first link to display in the set of search results. |
integer | $results_per_page | how many links are displayed on a given page of search results. The minimum value of this is self::MIN_RESULTS_PER_PAGE |
integer | $total_results | the total number of search results for the current search term |
boolean | $micro | whether to make a tiny pagination rather than normal size (this might be suitable for discussion boards) |
boolean | $no_follow | whether to add a rel='nofollow' attribute to pagination links |