cakephp/cakephp — pull request #1659 by markstory (2013-09-19 02:24:19+00:00)
Title: 3.0 - Start cleaning up the Pagination parameters

This is the first of a few pull requests to clean up and improve Pagination helper + component. I've started by reducing the number of parameters that are passed between the component + helper.

There was a fair bit of duplication in the 'options' subkey that really doesn't need to exist. This change removes that duplication and also removes the 'order' key in favor of the sort/direction keys which is what the order was composed of. This makes internal access simpler and require fewer function calls.