Page Navigator – with median
Package:
Summary:
Generate paginated listing metadata
Groups:
Author:
Description:
This class can be used to generate paginated listing metadata.
It takes as parameters the total numbers of entries in a list, the number of the current page, the limit of entries to display per page and the base URL of the listing pages.
The class returns an associative array with metadata to be used generate paginated navigation links. It includes HTML for the next, previous, first, last links, the limit clause to be used in database query, total number of pages in the listing, and the start position.
It takes as parameters the total numbers of entries in a list, the number of the current page, the limit of entries to display per page and the base URL of the listing pages.
The class returns an associative array with metadata to be used generate paginated navigation links. It includes HTML for the next, previous, first, last links, the limit clause to be used in database query, total number of pages in the listing, and the start position.
Comments are closed.