Zend_Paginator-Configuration.xml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Reviewed: no -->
  3. <sect1 id="zend.paginator.configuration">
  4. <title>Configuration</title>
  5. <para>
  6. <classname>Zend_Paginator</classname> has several configuration methods that can
  7. be called:
  8. </para>
  9. <table id="zend.paginator.configuration.table">
  10. <title>Configuration methods for Zend_Paginator</title>
  11. <tgroup cols="2">
  12. <thead>
  13. <row>
  14. <entry>Method</entry>
  15. <entry>Description</entry>
  16. </row>
  17. </thead>
  18. <tbody>
  19. <row>
  20. <entry>setCurrentPageNumber</entry>
  21. <entry>Sets the current page number (default 1).</entry>
  22. </row>
  23. <row>
  24. <entry>setItemCountPerPage</entry>
  25. <entry>
  26. Sets the maximum number of items to display on a page (default 10).
  27. </entry>
  28. </row>
  29. <row>
  30. <entry>setPageRange</entry>
  31. <entry>
  32. Sets the number of items to display in the pagination
  33. control (default 10). Note: Most of the time this
  34. number will be adhered to exactly, but scrolling styles
  35. do have the option of only using it as a guideline or
  36. starting value (e.g., Elastic).
  37. </entry>
  38. </row>
  39. <row>
  40. <entry>setView</entry>
  41. <entry>Sets the view instance, for rendering convenience.</entry>
  42. </row>
  43. </tbody>
  44. </tgroup>
  45. </table>
  46. </sect1>
  47. <!--
  48. vim:se ts=4 sw=4 et:
  49. -->