.. _fpaginationlinks:
################
pagination_links
################
:doc:`Navigation-related functions `
*******
Summary
*******
.. include:: /Reference/libraries/globals/summary/pagination_links.rst
.. php:function:: pagination_links(array $options = Array)
Return HTML for the set of pagination links.
:param array $options: Configurable parameters for the pagination links. The following options are available:
.. raw:: html
- 'scrolling_style' (string) See Zend_View_Helper_PaginationControl for
more details. Default 'Sliding'.
- 'partial_file' (string) View script to use to render the pagination
HTML. Default is 'common/pagination_control.php'.
- 'page_range' (integer) See Zend_Paginator::setPageRange() for details.
Default is 5.
- 'total_results' (integer) Total results to paginate through. Default is
provided by the 'total_results' key of the 'pagination' array that is
typically registered by the controller.
- 'page' (integer) Current page of the result set. Default is the 'page'
key of the 'pagination' array.
- 'per_page' (integer) Number of results to display per page. Default is
the 'per_page' key of the 'pagination' array.
.. raw:: html
*****
Usage
*****
.. include:: /Reference/libraries/globals/usage/pagination_links.rst
********
Examples
********
.. include:: /Reference/libraries/globals/examples/pagination_links.rst
********
See Also
********
.. include:: /Reference/libraries/globals/see_also/pagination_links.rst