cakephp/cakephp — pull request #3181 by AD7six (2014-03-31 10:03:45+00:00)
Title: begin decoupling the two paginate methods

The config of the paginator component should be used/honored. Right now
this has no effect:

$Paginator->config('limit', 123);
$result = $Paginator->paginate('Name');

The only way, currently, to preconfigure the paginator component is to
modify the Controller::$paginate property and call
Controller::paginate()

So - move the paginate-property juggling to the controller, and make the component read it's own config as the list-line defaults.

It's surely confusing that to configure`X::x()` you must modify `Y::$y` and call `Y::y()` - I'm more interested/concerned with the confusion this can case with testing and debugging than usage.