1 <?xml version="1.0" encoding="UTF-8"?>
3 <sect1 id="zend.paginator.configuration">
4 <title>Configuration</title>
7 <classname>Zend_Paginator</classname> has several configuration methods that can
11 <table id="zend.paginator.configuration.table">
12 <title>Configuration methods for Zend_Paginator</title>
18 <entry>Description</entry>
24 <entry>setCurrentPageNumber</entry>
25 <entry>Sets the current page number (default 1).</entry>
29 <entry>setItemCountPerPage</entry>
32 Sets the maximum number of items to display on a page (default 10).
37 <entry>setPageRange</entry>
40 Sets the number of items to display in the pagination
41 control (default 10). Note: Most of the time this
42 number will be adhered to exactly, but scrolling styles
43 do have the option of only using it as a guideline or
44 starting value (e.g., Elastic).
49 <entry>setView</entry>
50 <entry>Sets the view instance, for rendering convenience.</entry>