mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
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:
parent
e9e8951a27
commit
70c331f5db
1 changed files with 2 additions and 2 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue