Updating doc blocks for paginator helper. Thanks to savant for the patch. Fixes #4994.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8271 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
jperras 2009-08-02 18:55:37 +00:00
parent e9e8951a27
commit 70c331f5db

View file

@ -67,10 +67,10 @@ class PaginatorHelper extends AppHelper {
*/
var $options = array();
/**
* Gets the current page of the in the recordset for the given model
* Gets the current paging parameters from the resultset for the given model
*
* @param string $model Optional model name. Uses the default if none is specified.
* @return string The current page number of the paginated resultset.
* @return array The array of paging parameters for the paginated resultset.
*/
function params($model = null) {
if (empty($model)) {