[Surface] Rewritten Pagination class for fluid interfaces

Review Request #114 — Created June 17, 2013 and submitted — Latest diff uploaded

pprkut
Lunr
pprkut:cleanticks
124, 123, 118
lunr
This reimplements the Pagination class, mostly changing it to a fluid interface. Most of the heavy lifting here was done by Leo. I just cleaned it up a bit and added the unit tests :)
Unit tests
src/Lunr/Surface/Pagination.php
src/Lunr/Surface/Tests/PaginationHTMLTest.php
src/Lunr/Surface/Tests/PaginationNoCursorTest.php
src/Lunr/Surface/Tests/PaginationSettersTest.php
src/Lunr/Surface/Tests/PaginationTest.php
tests/phpunit.xml
tests/statics/surface/pagination_button_first_disabled.html
tests/statics/surface/pagination_button_first_enabled.html
tests/statics/surface/pagination_button_last_disabled.html
tests/statics/surface/pagination_button_last_enabled.html
tests/statics/surface/pagination_button_next_disabled.html
tests/statics/surface/pagination_button_next_enabled.html
tests/statics/surface/pagination_button_previous_disabled.html
tests/statics/surface/pagination_button_previous_enabled.html
tests/statics/surface/pagination_buttons_next.html
tests/statics/surface/pagination_buttons_previous.html
tests/statics/surface/pagination_links_left_edge.html
tests/statics/surface/pagination_links_middle.html
tests/statics/surface/pagination_links_right_edge.html
Loading...