| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!-- Reviewed: no -->
- <sect1 id="zend.paginator.configuration">
- <title>Configuration</title>
- <para>
- <classname>Zend_Paginator</classname> has several configuration methods that can
- be called:
- </para>
- <table id="zend.paginator.configuration.table">
- <title>Configuration methods for Zend_Paginator</title>
- <tgroup cols="2">
- <thead>
- <row>
- <entry>Method</entry>
- <entry>Description</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>setCurrentPageNumber</entry>
- <entry>Sets the current page number (default 1).</entry>
- </row>
- <row>
- <entry>setItemCountPerPage</entry>
- <entry>
- Sets the maximum number of items to display on a page (default 10).
- </entry>
- </row>
- <row>
- <entry>setPageRange</entry>
- <entry>
- Sets the number of items to display in the pagination
- control (default 10). Note: Most of the time this
- number will be adhered to exactly, but scrolling styles
- do have the option of only using it as a guideline or
- starting value (e.g., Elastic).
- </entry>
- </row>
- <row>
- <entry>setView</entry>
- <entry>Sets the view instance, for rendering convenience.</entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- </sect1>
- <!--
- vim:se ts=4 sw=4 et:
- -->
|