cakephp/cakephp — pull request #1373 by dereuromark (2013-06-23 21:48:53+00:00)
Title: add convenience method param() for PaginatorHelper

Similar to CakeRequest::query(), data(), Session/Cookie read() and other access methods, this seems to be a clean wrapper for the params of PaginatorHelper.
In my case

$params = $this->Paginator->params();
if (!empty($params['count'] && ...) {}

can then be the cleaner version

if ($this->Paginator->param('count') > $x) {}

What do you think?