ScrollingStyleInterface.php 710 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. *
  4. * Cube Framework $Id$ oP6+QW+/j4Cbgq78ZAC8PCRN9sOJF2k8M1hzMxWuG5HrjNe5F4amnF2xUX7SmtkZkn0l9qv/xu9Ekagx1/6w+w==
  5. *
  6. * @link http://codecu.be/framework
  7. * @copyright Copyright (c) 2014 CodeCube SRL
  8. * @license http://codecu.be/framework/license Commercial License
  9. *
  10. * @version 1.0
  11. */
  12. namespace Cube\Paginator\ScrollingStyle;
  13. use Cube\Paginator;
  14. interface ScrollingStyleInterface
  15. {
  16. /**
  17. *
  18. * returns an array of pages given a page number and range.
  19. *
  20. * @param \Cube\Paginator $paginator
  21. * @param integer $pageRange (Optional) Page range
  22. * @return array
  23. */
  24. public function getPages(Paginator $paginator, $pageRange = null);
  25. }