Zend_Paginator-Configuration.xml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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>
  22. Sets the current page number (default 1).
  23. </entry>
  24. </row>
  25. <row>
  26. <entry>setItemCountPerPage</entry>
  27. <entry>
  28. Sets the maximum number of items to display on a page
  29. (default 10).
  30. </entry>
  31. </row>
  32. <row>
  33. <entry>setPageRange</entry>
  34. <entry>
  35. Sets the number of items to display in the pagination
  36. control (default 10). Note: Most of the time this
  37. number will be adhered to exactly, but scrolling styles
  38. do have the option of only using it as a guideline or
  39. starting value (e.g., Elastic).
  40. </entry>
  41. </row>
  42. <row>
  43. <entry>setView</entry>
  44. <entry>
  45. Sets the view instance, for rendering convenience.
  46. </entry>
  47. </row>
  48. </tbody>
  49. </tgroup>
  50. </table>
  51. </sect1>
  52. <!--
  53. vim:se ts=4 sw=4 et:
  54. -->